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.0008086/0.0008086, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 13.93 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.0008394/0.0008394, allocations: 211.9 kB / 23.01 MB, free: 3.113 MB / 13.93 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.873/0.873, allocations: 230.6 MB / 256.8 MB, free: 3.457 MB / 202.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.737/0.737, allocations: 203.8 MB / 0.5049 GB, free: 0.6914 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009121/0.0009121, allocations: 73.62 kB / 0.7195 GB, free: 14.41 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4676/0.4685, allocations: 102 MB / 0.8191 GB, free: 25.22 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001473/0.47, allocations: 0.6161 MB / 0.8197 GB, free: 24.85 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001119/0.4711, allocations: 1.16 MB / 0.8208 GB, free: 24 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.446e-05/0.4712, allocations: 0 / 0.8208 GB, free: 24 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001017/0.4713, allocations: 5.281 kB / 0.8208 GB, free: 24 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 2.098e-05/0.4713, allocations: 7.422 kB / 0.8208 GB, free: 24 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003991/0.4717, allocations: 115.5 kB / 0.8209 GB, free: 23.94 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001599/0.4719, allocations: 92.53 kB / 0.821 GB, free: 23.9 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 8.223e-05/0.472, allocations: 2.984 kB / 0.821 GB, free: 23.9 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 6.346e-05/0.472, allocations: 42.92 kB / 0.8211 GB, free: 23.88 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.4721, allocations: 30.06 kB / 0.8211 GB, free: 23.88 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.209e-05/0.4721, allocations: 8.562 kB / 0.8211 GB, free: 23.88 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.359e-05/0.4722, allocations: 25.98 kB / 0.8211 GB, free: 23.87 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 5.646e-05/0.4723, allocations: 18.2 kB / 0.8211 GB, free: 23.86 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.576e-05/0.4723, allocations: 32.22 kB / 0.8212 GB, free: 23.84 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001654/0.4725, allocations: 90.17 kB / 0.8213 GB, free: 23.81 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.4725, allocations: 1.766 kB / 0.8213 GB, free: 23.81 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.134e-06/0.4725, allocations: 0 / 0.8213 GB, free: 23.81 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.144e-06/0.4725, allocations: 0 / 0.8213 GB, free: 23.81 MB / 0.6355 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.0003498/0.4729, allocations: 310.5 kB / 0.8216 GB, free: 23.5 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.4729, allocations: 10.84 kB / 0.8216 GB, free: 23.5 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.233e-05/0.473, allocations: 7.578 kB / 0.8216 GB, free: 23.5 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.4731, allocations: 119 kB / 0.8217 GB, free: 23.37 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.4731, allocations: 3.344 kB / 0.8217 GB, free: 23.37 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.991e-05/0.4731, allocations: 9.766 kB / 0.8217 GB, free: 23.37 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.121e-05/0.4732, allocations: 49.22 kB / 0.8218 GB, free: 23.33 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.4732, allocations: 192 / 0.8218 GB, free: 23.33 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.4732, allocations: 6.406 kB / 0.8218 GB, free: 23.32 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.4732, allocations: 1.062 kB / 0.8218 GB, free: 23.32 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.633e-05/0.4733, allocations: 15.78 kB / 0.8218 GB, free: 23.32 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002913/0.4736, allocations: 280 kB / 0.822 GB, free: 23.05 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.081e-05/0.4736, allocations: 23.45 kB / 0.8221 GB, free: 23.03 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.287e-05/0.4736, allocations: 7.281 kB / 0.8221 GB, free: 23.02 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.003e-06/0.4736, allocations: 3.5 kB / 0.8221 GB, free: 23.02 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001237/0.4737, allocations: 65.28 kB / 0.8221 GB, free: 22.96 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 7.11e-07/0.4737, allocations: 0 / 0.8221 GB, free: 22.96 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001614/0.4739, allocations: 68.09 kB / 0.8222 GB, free: 22.91 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.631e-05/0.4739, allocations: 53.61 kB / 0.8223 GB, free: 22.85 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.515e-05/0.474, allocations: 105.8 kB / 0.8224 GB, free: 22.75 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.474, allocations: 28.67 kB / 0.8224 GB, free: 22.72 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.852e-05/0.474, allocations: 99.19 kB / 0.8225 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.474e-06/0.474, allocations: 1.484 kB / 0.8225 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.876e-05/0.4741, allocations: 34.38 kB / 0.8225 GB, free: 22.6 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.463e-05/0.4741, allocations: 322.5 kB / 0.8228 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.398e-05/0.4742, allocations: 27.27 kB / 0.8228 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.23e-05/0.4742, allocations: 48.47 kB / 0.8229 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.145e-05/0.4743, allocations: 79.28 kB / 0.823 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.4743, allocations: 0.9375 kB / 0.823 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001724/0.4745, allocations: 147.7 kB / 0.8231 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.719e-05/0.4745, allocations: 42.64 kB / 0.8231 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.4745, allocations: 1.094 kB / 0.8231 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.4745, allocations: 4.719 kB / 0.8232 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.792e-05/0.4745, allocations: 2.156 kB / 0.8232 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.4746, allocations: 0.6562 kB / 0.8232 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000135/0.4747, allocations: 25.98 kB / 0.8232 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.4747, allocations: 5.5 kB / 0.8232 GB, free: 22.04 MB / 0.6355 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 5.235e-05/0.4748, allocations: 129.1 kB / 0.8233 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.354e-06/0.4748, allocations: 3.281 kB / 0.8233 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.997e-05/0.4748, allocations: 4 kB / 0.8233 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.4748, allocations: 0.9062 kB / 0.8233 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.4748, allocations: 6.078 kB / 0.8233 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.4748, allocations: 0 / 0.8233 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.355e-05/0.4749, allocations: 134.5 kB / 0.8235 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.4749, allocations: 1.125 kB / 0.8235 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.55e-06/0.4749, allocations: 4.984 kB / 0.8235 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.4749, allocations: 1.094 kB / 0.8235 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.4749, allocations: 5.156 kB / 0.8235 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.91e-07/0.4749, allocations: 0 / 0.8235 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4749, allocations: 1.891 kB / 0.8235 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.854e-05/0.4749, allocations: 87.73 kB / 0.8235 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.821e-06/0.475, allocations: 1.406 kB / 0.8235 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.368e-06/0.475, allocations: 1.734 kB / 0.8236 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.333e-05/0.475, allocations: 9.812 kB / 0.8236 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.813e-05/0.475, allocations: 2.656 kB / 0.8236 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.475, allocations: 5.312 kB / 0.8236 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.071e-05/0.475, allocations: 86.31 kB / 0.8237 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.1e-08/0.475, allocations: 0 / 0.8237 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001468/0.4752, allocations: 15.34 kB / 0.8237 GB, free: 21.56 MB / 0.6355 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.0001053/0.4753, allocations: 102.2 kB / 0.8238 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001669/0.4754, allocations: 112.5 kB / 0.8239 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4754, allocations: 0 / 0.8239 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.679e-05/0.4755, allocations: 17.34 kB / 0.8239 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001676/0.4756, allocations: 7.766 kB / 0.8239 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00026/0.4759, allocations: 152.9 kB / 0.824 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.57e-05/0.476, allocations: 0.6842 MB / 0.8247 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.664e-05/0.476, allocations: 10.27 kB / 0.8247 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of SimCode: time 7.11e-07/0.476, allocations: 0 / 0.8247 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of Templates: time 0.002282/0.4783, allocations: 0.9222 MB / 0.8256 GB, free: 20.44 MB / 0.6355 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: 5.5718846309464425] Failed to read output from testmodel.py, exit status != 0: 0.48362093209289014 0.492718256 0.018423956000000002 Calling exit ...