Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.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.001291/0.001291, allocations: 78.56 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.001364/0.001364, allocations: 165.1 kB / 22.46 MB, free: 5.367 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.398/1.398, allocations: 177.2 MB / 202.8 MB, free: 9.172 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.179/1.179, allocations: 154.7 MB / 413.9 MB, free: 5.133 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.BooleanScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") translateModel(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.605e-06/2.605e-06, allocations: 0 / 0.6187 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.872e-05/3.133e-05, allocations: 8.031 kB / 0.6187 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001993/0.002025, allocations: 0.6047 MB / 0.6193 GB, free: 3.969 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001669/0.003693, allocations: 1.131 MB / 0.6204 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.181e-05/0.003745, allocations: 0 / 0.6204 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001035/0.003849, allocations: 0 / 0.6204 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.657e-05/0.003875, allocations: 7.938 kB / 0.6204 GB, free: 2.816 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004823/0.004357, allocations: 130.3 kB / 0.6206 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001891/0.004547, allocations: 95.88 kB / 0.6207 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.411e-05/0.004641, allocations: 3.984 kB / 0.6207 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.004742, allocations: 55.83 kB / 0.6207 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.004859, allocations: 23.97 kB / 0.6207 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.57e-05/0.004884, allocations: 8 kB / 0.6207 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.872e-05/0.004953, allocations: 19.98 kB / 0.6208 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.363e-05/0.005037, allocations: 15.98 kB / 0.6208 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.079e-05/0.005097, allocations: 27.91 kB / 0.6208 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001863/0.005284, allocations: 99.77 kB / 0.6209 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.005287, allocations: 4 kB / 0.6209 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of FrontEnd: time 5.81e-07/0.005288, allocations: 0 / 0.6209 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.005293, allocations: 4 kB / 0.6209 GB, free: 2.34 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000535/0.005828, allocations: 307.9 kB / 0.6212 GB, free: 2 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.005873, allocations: 8.031 kB / 0.6212 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.145e-05/0.005924, allocations: 8.938 kB / 0.6212 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002015/0.006126, allocations: 129.7 kB / 0.6213 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.006145, allocations: 4.375 kB / 0.6213 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.494e-05/0.00617, allocations: 4.375 kB / 0.6214 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.006295, allocations: 50.17 kB / 0.6214 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.006303, allocations: 4.188 kB / 0.6214 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.006311, allocations: 384 / 0.6214 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.006315, allocations: 4.375 kB / 0.6214 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.647e-05/0.006352, allocations: 11.94 kB / 0.6214 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003432/0.006695, allocations: 240.5 kB / 0.6216 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 6.04e-05/0.006755, allocations: 22.58 kB / 0.6217 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.567e-05/0.006771, allocations: 8.859 kB / 0.6217 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 9.147e-06/0.00678, allocations: 0 / 0.6217 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001569/0.006937, allocations: 63.33 kB / 0.6217 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.006938, allocations: 0 / 0.6217 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0002061/0.007144, allocations: 69.58 kB / 0.6218 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/0.007188, allocations: 59.39 kB / 0.6219 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.398e-05/0.007282, allocations: 105.9 kB / 0.622 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.85e-05/0.00731, allocations: 29.69 kB / 0.622 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.74e-05/0.007368, allocations: 84.14 kB / 0.6221 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.451e-05/0.007382, allocations: 11.95 kB / 0.6221 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.571e-05/0.007448, allocations: 29.7 kB / 0.6221 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.007588, allocations: 310.8 kB / 0.6224 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.00769, allocations: 61.67 kB / 0.6225 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.00779, allocations: 76.27 kB / 0.6225 GB, free: 484 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001195/0.00791, allocations: 88.44 kB / 0.6226 GB, free: 380 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.007912, allocations: 3.938 kB / 0.6226 GB, free: 376 kB / 0.5294 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002963/0.008208, allocations: 188.9 kB / 0.6228 GB, free: 168 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.22e-05/0.00825, allocations: 33.7 kB / 0.6228 GB, free: 128 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.00826, allocations: 7.984 kB / 0.6228 GB, free: 120 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.008276, allocations: 0 / 0.6228 GB, free: 120 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.761e-05/0.008294, allocations: 0 / 0.6228 GB, free: 120 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.008302, allocations: 3.984 kB / 0.6229 GB, free: 116 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002026/0.008504, allocations: 28.06 kB / 0.6229 GB, free: 88 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.955e-05/0.008524, allocations: 8.312 kB / 0.6229 GB, free: 80 kB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0001202/0.008644, allocations: 114.8 kB / 0.623 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.262e-05/0.008657, allocations: 7.938 kB / 0.623 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.938e-05/0.008686, allocations: 15.86 kB / 0.623 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-06/0.008687, allocations: 0 / 0.623 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.717e-05/0.008705, allocations: 4 kB / 0.623 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.008708, allocations: 0 / 0.623 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001119/0.00882, allocations: 113.2 kB / 0.6231 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.008821, allocations: 4 kB / 0.6231 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.27e-06/0.008827, allocations: 0 / 0.6231 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.00883, allocations: 3.938 kB / 0.6231 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.008837, allocations: 0 / 0.6231 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.008838, allocations: 4 kB / 0.6231 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.008839, allocations: 0 / 0.6231 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001151/0.008954, allocations: 77.08 kB / 0.6232 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.006e-05/0.008964, allocations: 7.984 kB / 0.6232 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.008978, allocations: 3.938 kB / 0.6232 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.678e-05/0.008995, allocations: 0 / 0.6232 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.703e-05/0.009032, allocations: 8 kB / 0.6232 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.009036, allocations: 4 kB / 0.6232 GB, free: 15.65 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.479e-05/0.009091, allocations: 87.2 kB / 0.6233 GB, free: 15.57 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.009091, allocations: 0 / 0.6233 GB, free: 15.57 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002086/0.0093, allocations: 16 kB / 0.6233 GB, free: 15.55 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001608/0.00946, allocations: 99.25 kB / 0.6234 GB, free: 15.45 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002323/0.009693, allocations: 137.1 kB / 0.6236 GB, free: 15.29 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.009694, allocations: 0 / 0.6236 GB, free: 15.29 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.002e-05/0.009724, allocations: 11.94 kB / 0.6236 GB, free: 15.28 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002148/0.009939, allocations: 22.19 kB / 0.6236 GB, free: 15.26 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003255/0.01026, allocations: 124.7 kB / 0.6237 GB, free: 15.11 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.611e-05/0.01034, allocations: 67.34 kB / 0.6238 GB, free: 15.03 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.753e-05/0.01036, allocations: 3.938 kB / 0.6238 GB, free: 15.02 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.75e-05/0.01039, allocations: 16.48 kB / 0.6238 GB, free: 15.01 MB / 0.545 GB Notification: Performance of SimCode: time 2.9e-07/0.01039, allocations: 0 / 0.6238 GB, free: 15.01 MB / 0.545 GB Notification: Performance of Templates: time 0.004498/0.01488, allocations: 1.164 MB / 0.6249 GB, free: 13.89 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.611122535541654] Failed to read output from testmodel.py, exit status != 0: 0.024108631536364555 0.039025929 0.030738945000000004 Calling exit ...