Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009543/0.0009543, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 169 kB / 24.06 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.038/1.038, allocations: 177.1 MB / 204.5 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7784/0.7784, allocations: 154.9 MB / 415.9 MB, free: 252 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") translateModel(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.856e-06/2.856e-06, allocations: 0 / 0.5219 GB, free: 448 kB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.145e-05/3.431e-05, allocations: 2.312 kB / 0.5219 GB, free: 444 kB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001976/0.00201, allocations: 0.6572 MB / 0.5225 GB, free: 15.8 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.0032, allocations: 0.8796 MB / 0.5234 GB, free: 14.91 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.241e-05/0.003262, allocations: 3.938 kB / 0.5234 GB, free: 14.91 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001242/0.003387, allocations: 1.391 kB / 0.5234 GB, free: 14.91 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 2.877e-05/0.003415, allocations: 5.891 kB / 0.5234 GB, free: 14.91 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002/0.003615, allocations: 15.92 kB / 0.5234 GB, free: 14.89 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001/0.003715, allocations: 45.53 kB / 0.5235 GB, free: 14.85 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.003816, allocations: 3.984 kB / 0.5235 GB, free: 14.85 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.719e-05/0.003894, allocations: 19.98 kB / 0.5235 GB, free: 14.83 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.58e-05/0.003959, allocations: 11.98 kB / 0.5235 GB, free: 14.82 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.00398, allocations: 5.25 kB / 0.5235 GB, free: 14.81 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.22e-05/0.003993, allocations: 4 kB / 0.5235 GB, free: 14.81 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 5.999e-05/0.004053, allocations: 15.92 kB / 0.5235 GB, free: 14.79 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.651e-05/0.004079, allocations: 7.609 kB / 0.5235 GB, free: 14.79 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 9.865e-05/0.004178, allocations: 31.84 kB / 0.5235 GB, free: 14.76 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.004181, allocations: 0 / 0.5235 GB, free: 14.76 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.542e-06/0.004182, allocations: 0 / 0.5235 GB, free: 14.76 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.409e-06/0.004187, allocations: 0 / 0.5235 GB, free: 14.76 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004232/0.00461, allocations: 368.6 kB / 0.5239 GB, free: 14.36 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.00465, allocations: 8.031 kB / 0.5239 GB, free: 14.35 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.735e-05/0.004688, allocations: 8.938 kB / 0.5239 GB, free: 14.34 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.004828, allocations: 116.6 kB / 0.524 GB, free: 14.2 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.004846, allocations: 4.938 kB / 0.524 GB, free: 14.2 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.004857, allocations: 4.375 kB / 0.524 GB, free: 14.2 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.005006, allocations: 63.38 kB / 0.5241 GB, free: 14.12 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.005015, allocations: 0.7188 kB / 0.5241 GB, free: 14.12 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.00503, allocations: 9.344 kB / 0.5241 GB, free: 14.12 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.005036, allocations: 384 / 0.5241 GB, free: 14.12 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.51e-05/0.005071, allocations: 15.91 kB / 0.5241 GB, free: 14.1 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003095/0.005381, allocations: 249.9 kB / 0.5244 GB, free: 13.83 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.398e-05/0.005455, allocations: 38.98 kB / 0.5244 GB, free: 13.78 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.923e-05/0.005474, allocations: 8.281 kB / 0.5244 GB, free: 13.77 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/0.005487, allocations: 0.8125 kB / 0.5244 GB, free: 13.77 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.005513, allocations: 41.39 kB / 0.5244 GB, free: 13.72 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 2.214e-06/0.005516, allocations: 1.75 kB / 0.5244 GB, free: 13.72 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.00016/0.005676, allocations: 45.64 kB / 0.5245 GB, free: 13.67 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/0.005716, allocations: 59.34 kB / 0.5245 GB, free: 13.6 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.415e-05/0.00581, allocations: 157.9 kB / 0.5247 GB, free: 13.43 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.005824, allocations: 26.27 kB / 0.5247 GB, free: 13.39 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.799e-05/0.005892, allocations: 142.8 kB / 0.5249 GB, free: 13.25 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.692e-05/0.005909, allocations: 0.9688 kB / 0.5249 GB, free: 13.25 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.27e-05/0.005952, allocations: 23.38 kB / 0.5249 GB, free: 13.22 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.006106, allocations: 0.4897 MB / 0.5254 GB, free: 12.72 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.1e-05/0.006127, allocations: 4 kB / 0.5254 GB, free: 12.71 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.259e-05/0.006139, allocations: 0 / 0.5254 GB, free: 12.71 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.708e-05/0.006176, allocations: 16.47 kB / 0.5254 GB, free: 12.7 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.006178, allocations: 1.219 kB / 0.5254 GB, free: 12.7 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.523e-05/0.006263, allocations: 49.83 kB / 0.5254 GB, free: 12.64 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.006279, allocations: 7.938 kB / 0.5254 GB, free: 12.63 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.006287, allocations: 2.688 kB / 0.5254 GB, free: 12.63 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.006297, allocations: 8 kB / 0.5254 GB, free: 12.62 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.331e-05/0.006381, allocations: 7.984 kB / 0.5255 GB, free: 12.62 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.515e-06/0.006383, allocations: 0 / 0.5255 GB, free: 12.62 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.798e-05/0.006411, allocations: 7.984 kB / 0.5255 GB, free: 12.61 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.006416, allocations: 0 / 0.5255 GB, free: 12.61 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.591e-05/0.006502, allocations: 153.1 kB / 0.5256 GB, free: 12.45 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.644e-05/0.006528, allocations: 8.875 kB / 0.5256 GB, free: 12.44 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.101e-05/0.006549, allocations: 3.312 kB / 0.5256 GB, free: 12.44 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.006551, allocations: 0 / 0.5256 GB, free: 12.44 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.006553, allocations: 0.9375 kB / 0.5256 GB, free: 12.44 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.006555, allocations: 0 / 0.5256 GB, free: 12.44 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001364/0.006692, allocations: 109.8 kB / 0.5257 GB, free: 12.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.006693, allocations: 0 / 0.5257 GB, free: 12.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.398e-05/0.006737, allocations: 8.703 kB / 0.5257 GB, free: 12.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.006739, allocations: 0 / 0.5257 GB, free: 12.3 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.779e-06/0.006744, allocations: 1.219 kB / 0.5257 GB, free: 12.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.006747, allocations: 3.938 kB / 0.5257 GB, free: 12.29 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.006748, allocations: 0 / 0.5257 GB, free: 12.29 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001322/0.00688, allocations: 192.5 kB / 0.5259 GB, free: 12.09 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.122e-05/0.006891, allocations: 8.609 kB / 0.5259 GB, free: 12.08 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.032e-05/0.006902, allocations: 3.938 kB / 0.5259 GB, free: 12.07 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6e-05/0.006962, allocations: 4.781 kB / 0.5259 GB, free: 12.07 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.536e-05/0.007007, allocations: 7.984 kB / 0.5259 GB, free: 12.06 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.007011, allocations: 2.719 kB / 0.5259 GB, free: 12.06 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.805e-05/0.007059, allocations: 127.2 kB / 0.5261 GB, free: 11.94 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007059, allocations: 0 / 0.5261 GB, free: 11.94 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002319/0.007291, allocations: 4 kB / 0.5261 GB, free: 11.93 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001183/0.007409, allocations: 99.23 kB / 0.5262 GB, free: 11.82 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 8.57e-05/0.007495, allocations: 22.75 kB / 0.5262 GB, free: 11.8 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.007497, allocations: 0 / 0.5262 GB, free: 11.8 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.632e-05/0.007523, allocations: 15.67 kB / 0.5262 GB, free: 11.78 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002551/0.007778, allocations: 4 kB / 0.5262 GB, free: 11.78 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002893/0.008067, allocations: 134.2 kB / 0.5263 GB, free: 11.62 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.163e-05/0.008109, allocations: 65.02 kB / 0.5264 GB, free: 11.54 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.767e-05/0.008137, allocations: 4 kB / 0.5264 GB, free: 11.53 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.379e-05/0.0082, allocations: 76.36 kB / 0.5265 GB, free: 11.46 MB / 458.7 MB Notification: Performance of SimCode: time 6.71e-07/0.008201, allocations: 0 / 0.5265 GB, free: 11.46 MB / 458.7 MB Notification: Performance of Templates: time 0.003218/0.01142, allocations: 0.7181 MB / 0.5272 GB, free: 10.77 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7856639898382127]