Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.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.001374/0.001374, allocations: 75.72 kB / 19.16 MB, free: 2.566 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.001444/0.001444, allocations: 167.3 kB / 22.44 MB, free: 5.316 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.409/1.409, allocations: 177.2 MB / 202.8 MB, free: 9.223 MB / 190.1 MB " [Timeout remaining time 178] 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 1.188/1.188, allocations: 155 MB / 414.2 MB, free: 4.945 MB / 382.1 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 178] 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.BooleanVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator") translateModel(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator") [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.002157/0.002157, allocations: 68.25 kB / 0.6191 GB, free: 4.184 MB / 0.5294 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.548/0.5501, allocations: 102 MB / 0.7187 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.001693/0.5518, allocations: 0.6164 MB / 0.7193 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001208/0.553, allocations: 1.141 MB / 0.7204 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.497e-05/0.5531, allocations: 1.344 kB / 0.7204 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.823e-05/0.5532, allocations: 6.781 kB / 0.7204 GB, free: 0.5625 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.112e-05/0.5533, allocations: 10.3 kB / 0.7205 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004121/0.5537, allocations: 125.1 kB / 0.7206 GB, free: 0.4922 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002503/0.554, allocations: 197.7 kB / 0.7208 GB, free: 416 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.5541, allocations: 16.69 kB / 0.7208 GB, free: 408 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000138/0.5542, allocations: 108.5 kB / 0.7209 GB, free: 364 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001671/0.5544, allocations: 79.97 kB / 0.721 GB, free: 336 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.616e-05/0.5544, allocations: 14.84 kB / 0.721 GB, free: 336 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.909e-05/0.5545, allocations: 28.53 kB / 0.721 GB, free: 332 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.837e-05/0.5545, allocations: 24.3 kB / 0.721 GB, free: 324 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.692e-05/0.5546, allocations: 66 kB / 0.7211 GB, free: 292 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000298/0.5549, allocations: 231 kB / 0.7213 GB, free: 216 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.5549, allocations: 1.703 kB / 0.7213 GB, free: 216 kB / 0.6075 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5549, allocations: 7.938 kB / 0.7213 GB, free: 208 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.555, allocations: 0 / 0.7213 GB, free: 208 kB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000596/0.5556, allocations: 385 kB / 0.7217 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.5556, allocations: 10.5 kB / 0.7217 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.472e-05/0.5557, allocations: 14.02 kB / 0.7217 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003046/0.556, allocations: 158.2 kB / 0.7219 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.556, allocations: 6.547 kB / 0.7219 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.228e-05/0.556, allocations: 15.73 kB / 0.7219 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.5562, allocations: 101.2 kB / 0.722 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.5562, allocations: 1.469 kB / 0.722 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.639e-05/0.5562, allocations: 4.734 kB / 0.722 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.5563, allocations: 9.344 kB / 0.722 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.231e-05/0.5563, allocations: 44.47 kB / 0.722 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006127/0.5569, allocations: 414 kB / 0.7224 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 8.97e-05/0.557, allocations: 57.44 kB / 0.7225 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.165e-05/0.5571, allocations: 28.08 kB / 0.7225 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 9.348e-06/0.5571, allocations: 1.094 kB / 0.7225 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001897/0.5573, allocations: 108.2 kB / 0.7226 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.5573, allocations: 0 / 0.7226 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of matching and sorting (n=6): time 0.0003227/0.5576, allocations: 139.4 kB / 0.7227 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.194e-05/0.5577, allocations: 84.14 kB / 0.7228 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.5578, allocations: 131.7 kB / 0.723 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.857e-05/0.5578, allocations: 31.55 kB / 0.723 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 8.814e-05/0.5579, allocations: 104.9 kB / 0.7231 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 1.91e-05/0.558, allocations: 11.67 kB / 0.7231 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.5581, allocations: 52.55 kB / 0.7231 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.5582, allocations: 324.4 kB / 0.7235 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002862/0.5585, allocations: 194.8 kB / 0.7236 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002874/0.5588, allocations: 227.3 kB / 0.7239 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003058/0.5591, allocations: 221.9 kB / 0.7241 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.5591, allocations: 0 / 0.7241 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00083/0.5599, allocations: 452.1 kB / 0.7245 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 7.119e-05/0.56, allocations: 68.41 kB / 0.7246 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.56, allocations: 1.875 kB / 0.7246 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.56, allocations: 2.719 kB / 0.7246 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.686e-05/0.5601, allocations: 10.52 kB / 0.7246 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.5601, allocations: 3.016 kB / 0.7246 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004276/0.5605, allocations: 67.12 kB / 0.7246 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.951e-05/0.5605, allocations: 15.73 kB / 0.7247 GB, free: 13.66 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 (booPul[1].y,$PRE.booPul[1].y,$whenCondition3,$whenCondition4,booPul[2].y,$PRE.booPul[2].y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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.0001544/0.5607, allocations: 139.3 kB / 0.7248 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.03e-05/0.5607, allocations: 7.109 kB / 0.7248 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.529e-05/0.5608, allocations: 19.55 kB / 0.7248 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.5608, allocations: 2.078 kB / 0.7248 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.5608, allocations: 4.469 kB / 0.7248 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.5608, allocations: 1.094 kB / 0.7248 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001498/0.5609, allocations: 128.2 kB / 0.7249 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.5609, allocations: 1.016 kB / 0.725 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.062e-05/0.5609, allocations: 6.172 kB / 0.725 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.5609, allocations: 1.125 kB / 0.725 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.5609, allocations: 2.297 kB / 0.725 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.5609, allocations: 1.125 kB / 0.725 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.5609, allocations: 0.5 kB / 0.725 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002473/0.5612, allocations: 143 kB / 0.7251 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 1.697e-05/0.5612, allocations: 7.219 kB / 0.7251 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.927e-05/0.5612, allocations: 2.609 kB / 0.7251 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.26e-05/0.5613, allocations: 1.156 kB / 0.7251 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.958e-05/0.5613, allocations: 13.19 kB / 0.7251 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.5613, allocations: 7.469 kB / 0.7251 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 8.799e-05/0.5614, allocations: 101.5 kB / 0.7252 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8e-08/0.5614, allocations: 0 / 0.7252 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002619/0.5617, allocations: 36.2 kB / 0.7253 GB, free: 13.17 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,booPul[1].y,$whenCondition1,$whenCondition2,booPul[2].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001623/0.5618, allocations: 112.7 kB / 0.7254 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005448/0.5624, allocations: 366.9 kB / 0.7257 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.5624, allocations: 1 kB / 0.7257 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 6.387e-05/0.5624, allocations: 35.64 kB / 0.7258 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002586/0.5627, allocations: 17.5 kB / 0.7258 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004743/0.5632, allocations: 207.6 kB / 0.726 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.639e-05/0.5633, allocations: 90.91 kB / 0.7261 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 3.329e-05/0.5633, allocations: 11.16 kB / 0.7261 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.528e-05/0.5633, allocations: 12.77 kB / 0.7261 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of SimCode: time 2.7e-07/0.5633, allocations: 0 / 0.7261 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of Templates: time 0.006344/0.5697, allocations: 2.471 MB / 0.7285 GB, free: 12.3 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.133806426078081] Failed to read output from testmodel.py, exit status != 0: 0.5786474626511335 0.594780035 0.036633151 Calling exit ...