Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0006295/0.0006295, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0007198/0.0007198, allocations: 178.2 kB / 23.22 MB, free: 1.348 MB / 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 0.796/0.796, allocations: 177.1 MB / 203.5 MB, free: 5.758 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-531:190: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-531:198: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.6476/0.6476, allocations: 154.5 MB / 414.5 MB, free: 0.8164 MB / 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.BooleanScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 0.6193 GB, free: 13.19 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.871e-05/2.073e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.19 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001155/0.001176, allocations: 0.6009 MB / 0.6199 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001117/0.002293, allocations: 1.135 MB / 0.621 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.06e-05/0.002344, allocations: 4 kB / 0.621 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001028/0.002446, allocations: 3.938 kB / 0.621 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 1.995e-05/0.002466, allocations: 4 kB / 0.621 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004037/0.00287, allocations: 131.1 kB / 0.6211 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001253/0.002995, allocations: 87.83 kB / 0.6212 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 7.802e-05/0.003073, allocations: 4 kB / 0.6212 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.666e-05/0.00314, allocations: 55.88 kB / 0.6212 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.884e-05/0.003229, allocations: 19.97 kB / 0.6213 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.952e-05/0.003248, allocations: 8 kB / 0.6213 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.293e-05/0.003301, allocations: 23.98 kB / 0.6213 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.605e-05/0.003357, allocations: 7.984 kB / 0.6213 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.635e-05/0.003404, allocations: 31.91 kB / 0.6213 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001487/0.003553, allocations: 107.7 kB / 0.6214 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.003554, allocations: 4 kB / 0.6214 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of FrontEnd: time 6.52e-07/0.003555, allocations: 0 / 0.6214 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.429e-06/0.00356, allocations: 0 / 0.6214 GB, free: 10.96 MB / 0.5886 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.0003769/0.003936, allocations: 303.9 kB / 0.6217 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.003971, allocations: 13.41 kB / 0.6217 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.063e-05/0.004012, allocations: 12.92 kB / 0.6218 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.004154, allocations: 125.7 kB / 0.6219 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.004166, allocations: 4.375 kB / 0.6219 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/0.004181, allocations: 8.375 kB / 0.6219 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.744e-05/0.004268, allocations: 42.25 kB / 0.6219 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.004277, allocations: 8.188 kB / 0.6219 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.004286, allocations: 384 / 0.6219 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.00429, allocations: 384 / 0.6219 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.935e-05/0.00432, allocations: 23.86 kB / 0.622 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002475/0.004567, allocations: 228.5 kB / 0.6222 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 4.13e-05/0.004608, allocations: 22.58 kB / 0.6222 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.105e-05/0.004619, allocations: 4.859 kB / 0.6222 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 6.813e-06/0.004626, allocations: 0 / 0.6222 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001/0.004726, allocations: 71.33 kB / 0.6223 GB, free: 9.984 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 6.81e-07/0.004727, allocations: 0 / 0.6223 GB, free: 9.984 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0001604/0.004887, allocations: 69.64 kB / 0.6223 GB, free: 9.91 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.773e-05/0.004925, allocations: 55.41 kB / 0.6224 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.408e-05/0.004989, allocations: 105.8 kB / 0.6225 GB, free: 9.73 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.005007, allocations: 33.7 kB / 0.6225 GB, free: 9.691 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.553e-05/0.005053, allocations: 92.08 kB / 0.6226 GB, free: 9.598 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.991e-06/0.005059, allocations: 0 / 0.6226 GB, free: 9.598 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-05/0.005098, allocations: 29.7 kB / 0.6226 GB, free: 9.562 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.221e-05/0.005191, allocations: 318.8 kB / 0.6229 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.508e-05/0.005256, allocations: 61.67 kB / 0.623 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.255e-05/0.005318, allocations: 76.27 kB / 0.6231 GB, free: 9.086 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.283e-05/0.005391, allocations: 80.27 kB / 0.6232 GB, free: 8.992 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.005394, allocations: 0 / 0.6232 GB, free: 8.992 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001826/0.005576, allocations: 184.9 kB / 0.6233 GB, free: 8.793 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.756e-05/0.005604, allocations: 37.69 kB / 0.6234 GB, free: 8.75 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.005609, allocations: 4.25 kB / 0.6234 GB, free: 8.746 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.005621, allocations: 0 / 0.6234 GB, free: 8.746 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.516e-05/0.005636, allocations: 4 kB / 0.6234 GB, free: 8.742 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.005642, allocations: 7.938 kB / 0.6234 GB, free: 8.734 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00013/0.005772, allocations: 32.06 kB / 0.6234 GB, free: 8.703 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/0.005787, allocations: 7.984 kB / 0.6234 GB, free: 8.695 MB / 0.5886 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 6.241e-05/0.005849, allocations: 110.8 kB / 0.6235 GB, free: 8.578 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.494e-06/0.005857, allocations: 7.938 kB / 0.6235 GB, free: 8.57 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.032e-05/0.005877, allocations: 8 kB / 0.6235 GB, free: 8.555 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.005879, allocations: 0 / 0.6235 GB, free: 8.555 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.005883, allocations: 0 / 0.6235 GB, free: 8.555 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.005888, allocations: 4.219 kB / 0.6235 GB, free: 8.551 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.648e-05/0.005954, allocations: 117.2 kB / 0.6237 GB, free: 8.406 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.005956, allocations: 7.984 kB / 0.6237 GB, free: 8.398 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.807e-06/0.005959, allocations: 3.984 kB / 0.6237 GB, free: 8.395 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.005962, allocations: 7.938 kB / 0.6237 GB, free: 8.387 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-06/0.005968, allocations: 0 / 0.6237 GB, free: 8.387 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.51e-07/0.005968, allocations: 0 / 0.6237 GB, free: 8.387 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.005969, allocations: 0 / 0.6237 GB, free: 8.387 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.717e-05/0.006036, allocations: 81.06 kB / 0.6238 GB, free: 8.289 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.26e-06/0.006041, allocations: 0 / 0.6238 GB, free: 8.289 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.154e-05/0.006053, allocations: 7.922 kB / 0.6238 GB, free: 8.281 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.722e-06/0.00606, allocations: 0 / 0.6238 GB, free: 8.281 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.298e-05/0.006083, allocations: 4 kB / 0.6238 GB, free: 8.277 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-06/0.006086, allocations: 4 kB / 0.6238 GB, free: 8.273 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.932e-05/0.006115, allocations: 87.27 kB / 0.6238 GB, free: 8.188 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006115, allocations: 0 / 0.6238 GB, free: 8.188 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001353/0.00625, allocations: 16 kB / 0.6239 GB, free: 8.172 MB / 0.5886 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.0001013/0.006352, allocations: 99.23 kB / 0.624 GB, free: 8.062 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001656/0.006517, allocations: 145 kB / 0.6241 GB, free: 7.902 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.006519, allocations: 0 / 0.6241 GB, free: 7.902 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.93e-05/0.006538, allocations: 8 kB / 0.6241 GB, free: 7.895 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001393/0.006678, allocations: 17.7 kB / 0.6241 GB, free: 7.879 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002161/0.006894, allocations: 142.6 kB / 0.6243 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.27e-05/0.006936, allocations: 67.3 kB / 0.6243 GB, free: 7.621 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.365e-05/0.00695, allocations: 16.44 kB / 0.6243 GB, free: 7.605 MB / 0.5886 GB Notification: Performance of SimCode: time 3.71e-07/0.00695, allocations: 3.938 kB / 0.6243 GB, free: 7.602 MB / 0.5886 GB Notification: Performance of Templates: time 0.001649/0.0086, allocations: 0.9292 MB / 0.6252 GB, free: 6.691 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.644546691328287] Failed to read output from testmodel.py, exit status != 0: 0.012880248948931694 0.020155973 0.015058740000000001 Calling exit ...