Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001315/0.001315, allocations: 78.48 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001601/0.001601, allocations: 168.4 kB / 22.45 MB, free: 5.371 MB / 14.72 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.42/1.42, allocations: 177.2 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.186/1.186, allocations: 154.7 MB / 413.9 MB, free: 5.148 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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_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_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 0.6187 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.03e-05/3.247e-05, allocations: 6.844 kB / 0.6187 GB, free: 4.531 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001719/0.001752, allocations: 0.6463 MB / 0.6194 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001148/0.002899, allocations: 0.8509 MB / 0.6202 GB, free: 3.035 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.79e-05/0.002947, allocations: 0 / 0.6202 GB, free: 3.035 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 8.91e-05/0.003036, allocations: 7.938 kB / 0.6202 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.551e-05/0.003062, allocations: 11.92 kB / 0.6202 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001552/0.003217, allocations: 11.98 kB / 0.6202 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.479e-05/0.003302, allocations: 31.92 kB / 0.6203 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.824e-05/0.0034, allocations: 8 kB / 0.6203 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.329e-05/0.003483, allocations: 23.97 kB / 0.6203 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.932e-05/0.003543, allocations: 15.92 kB / 0.6203 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/0.003562, allocations: 4 kB / 0.6203 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.917e-06/0.003571, allocations: 0 / 0.6203 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.15e-05/0.003623, allocations: 11.98 kB / 0.6203 GB, free: 2.91 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.249e-05/0.003655, allocations: 19.92 kB / 0.6203 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.396e-05/0.003749, allocations: 39.81 kB / 0.6204 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.003752, allocations: 0 / 0.6204 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of FrontEnd: time 5.41e-07/0.003752, allocations: 0 / 0.6204 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.003757, allocations: 0 / 0.6204 GB, free: 2.852 MB / 0.5294 GB 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.000528/0.004285, allocations: 282.2 kB / 0.6207 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.004324, allocations: 8.031 kB / 0.6207 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.51e-05/0.004359, allocations: 8.938 kB / 0.6207 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.004514, allocations: 113.7 kB / 0.6208 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.004534, allocations: 4.312 kB / 0.6208 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.004551, allocations: 12.38 kB / 0.6208 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002051/0.004756, allocations: 70.19 kB / 0.6209 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.004765, allocations: 192 / 0.6209 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.004774, allocations: 384 / 0.6209 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.004782, allocations: 8.312 kB / 0.6209 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001851/0.004967, allocations: 47.89 kB / 0.6209 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003533/0.00532, allocations: 204.6 kB / 0.6211 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001532/0.005473, allocations: 58.48 kB / 0.6212 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.946e-05/0.005563, allocations: 16.91 kB / 0.6212 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.005583, allocations: 3.938 kB / 0.6212 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.539e-05/0.005619, allocations: 38.56 kB / 0.6212 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.00562, allocations: 0 / 0.6212 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003698/0.00599, allocations: 89.58 kB / 0.6213 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.006027, allocations: 55.53 kB / 0.6214 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.14e-05/0.006119, allocations: 101.9 kB / 0.6215 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.006136, allocations: 25.7 kB / 0.6215 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.273e-05/0.006189, allocations: 92.06 kB / 0.6216 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.762e-05/0.006206, allocations: 11.89 kB / 0.6216 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.559e-05/0.006242, allocations: 13.72 kB / 0.6216 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.006388, allocations: 314.8 kB / 0.6219 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.118e-05/0.006479, allocations: 19.97 kB / 0.6219 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.452e-05/0.006553, allocations: 15.98 kB / 0.6219 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.006709, allocations: 48.88 kB / 0.622 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.006711, allocations: 0 / 0.622 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003039/0.007015, allocations: 73.59 kB / 0.622 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.00703, allocations: 4 kB / 0.622 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.007034, allocations: 3.938 kB / 0.6221 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/0.007055, allocations: 4 kB / 0.6221 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.007167, allocations: 15.95 kB / 0.6221 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.007172, allocations: 0 / 0.6221 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.711e-05/0.007239, allocations: 11.94 kB / 0.6221 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.007244, allocations: 0 / 0.6221 GB, free: 0.9336 MB / 0.5294 GB 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 0.0001203/0.007364, allocations: 110.8 kB / 0.6222 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.747e-05/0.007392, allocations: 7.938 kB / 0.6222 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.003e-05/0.007412, allocations: 7.312 kB / 0.6222 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.007413, allocations: 0 / 0.6222 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.007416, allocations: 0 / 0.6222 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.007419, allocations: 4 kB / 0.6222 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001444/0.007563, allocations: 109.3 kB / 0.6223 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.007564, allocations: 256 / 0.6223 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.277e-05/0.007637, allocations: 19.92 kB / 0.6223 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.00764, allocations: 3.938 kB / 0.6223 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.007647, allocations: 0 / 0.6223 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.00765, allocations: 3.984 kB / 0.6223 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.007651, allocations: 0 / 0.6223 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002707/0.007922, allocations: 171.5 kB / 0.6225 GB, free: 460 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.614e-06/0.007929, allocations: 3.953 kB / 0.6225 GB, free: 456 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.007943, allocations: 3.938 kB / 0.6225 GB, free: 452 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.369e-05/0.008027, allocations: 7.984 kB / 0.6225 GB, free: 444 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.973e-05/0.008077, allocations: 8 kB / 0.6225 GB, free: 436 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.00808, allocations: 0 / 0.6225 GB, free: 436 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.455e-05/0.008125, allocations: 83.27 kB / 0.6226 GB, free: 352 kB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.008125, allocations: 0 / 0.6226 GB, free: 352 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002111/0.008336, allocations: 4 kB / 0.6226 GB, free: 348 kB / 0.5294 GB 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.0001254/0.008461, allocations: 103.3 kB / 0.6227 GB, free: 232 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002249/0.008686, allocations: 39.95 kB / 0.6227 GB, free: 192 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.008688, allocations: 0 / 0.6227 GB, free: 192 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.921e-05/0.008787, allocations: 27.91 kB / 0.6228 GB, free: 164 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002407/0.009028, allocations: 10.17 kB / 0.6228 GB, free: 156 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003342/0.009362, allocations: 127.4 kB / 0.6229 GB, free: 8 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.133e-05/0.009453, allocations: 67.47 kB / 0.623 GB, free: 15.92 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.959e-05/0.009503, allocations: 7.938 kB / 0.623 GB, free: 15.91 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.166e-05/0.009555, allocations: 16.48 kB / 0.623 GB, free: 15.9 MB / 0.545 GB Notification: Performance of SimCode: time 4.61e-07/0.009555, allocations: 0 / 0.623 GB, free: 15.9 MB / 0.545 GB Notification: Performance of Templates: time 0.00325/0.01281, allocations: 0.6594 MB / 0.6236 GB, free: 15.26 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.632112257182598] Failed to read output from testmodel.py, exit status != 0: 0.02155810222029686 0.036254621 0.029516572 Calling exit ...