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.0009818/0.0009818, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.001762/0.001762, allocations: 169 kB / 24.06 MB, free: 452 kB / 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 1.071/1.071, allocations: 177.1 MB / 204.5 MB, free: 5.504 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-535:34: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-535:42: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.7938/0.7938, allocations: 154.9 MB / 415.9 MB, free: 260 kB / 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.404e-06/2.404e-06, allocations: 0 / 0.5219 GB, free: 1.516 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.931e-05/3.171e-05, allocations: 4.25 kB / 0.5219 GB, free: 1.512 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001909/0.001941, allocations: 0.6056 MB / 0.5225 GB, free: 0.9297 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001673/0.003614, allocations: 1.176 MB / 0.5236 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.03e-05/0.003674, allocations: 0 / 0.5236 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001267/0.003801, allocations: 7.922 kB / 0.5236 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 3.254e-05/0.003833, allocations: 6.766 kB / 0.5236 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004876/0.004321, allocations: 119.6 kB / 0.5237 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001707/0.004491, allocations: 83.83 kB / 0.5238 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.691e-05/0.004578, allocations: 8 kB / 0.5238 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 9.937e-05/0.004678, allocations: 51.89 kB / 0.5239 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.004786, allocations: 24.52 kB / 0.5239 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.621e-05/0.004812, allocations: 8 kB / 0.5239 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.428e-05/0.004886, allocations: 28.88 kB / 0.5239 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.277e-05/0.004939, allocations: 4 kB / 0.5239 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.642e-05/0.004995, allocations: 33.55 kB / 0.524 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001652/0.00516, allocations: 75.83 kB / 0.5241 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.005163, allocations: 0 / 0.5241 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.42e-07/0.005164, allocations: 0 / 0.5241 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.628e-06/0.005169, allocations: 0 / 0.5241 GB, free: 15.3 MB / 0.4948 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.0004525/0.005621, allocations: 419.1 kB / 0.5245 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.005663, allocations: 11.97 kB / 0.5245 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.801e-05/0.005711, allocations: 6.344 kB / 0.5245 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/0.005872, allocations: 124.6 kB / 0.5246 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.005888, allocations: 4.375 kB / 0.5246 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.005907, allocations: 4.375 kB / 0.5246 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.312e-05/0.00599, allocations: 51.33 kB / 0.5246 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.005997, allocations: 192 / 0.5246 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.006006, allocations: 4.359 kB / 0.5246 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.006012, allocations: 1.062 kB / 0.5247 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.864e-05/0.00603, allocations: 7.938 kB / 0.5247 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002966/0.006327, allocations: 265.7 kB / 0.5249 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.146e-05/0.006379, allocations: 34.98 kB / 0.5249 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.145e-05/0.00639, allocations: 7.688 kB / 0.525 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.777e-06/0.006394, allocations: 1.25 kB / 0.525 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001024/0.006496, allocations: 65.05 kB / 0.525 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.573e-06/0.006498, allocations: 0 / 0.525 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001799/0.006678, allocations: 62.23 kB / 0.5251 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/0.006717, allocations: 51.41 kB / 0.5251 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.006819, allocations: 171.8 kB / 0.5253 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.621e-05/0.006846, allocations: 29.7 kB / 0.5253 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.755e-05/0.006913, allocations: 138.8 kB / 0.5254 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.596e-06/0.006922, allocations: 0 / 0.5254 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.533e-05/0.006997, allocations: 43.33 kB / 0.5255 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.007153, allocations: 493.8 kB / 0.526 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.257e-05/0.007225, allocations: 49.69 kB / 0.526 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.326e-05/0.007308, allocations: 84.97 kB / 0.5261 GB, free: 13 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.624e-05/0.007405, allocations: 86.22 kB / 0.5262 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.007407, allocations: 0 / 0.5262 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002397/0.007647, allocations: 166.3 kB / 0.5263 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.159e-05/0.007688, allocations: 41.62 kB / 0.5264 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.007693, allocations: 0 / 0.5264 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.007703, allocations: 0 / 0.5264 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.673e-05/0.00772, allocations: 4.5 kB / 0.5264 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.685e-06/0.007723, allocations: 1.031 kB / 0.5264 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001495/0.007872, allocations: 23.92 kB / 0.5264 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.084e-05/0.007893, allocations: 13.14 kB / 0.5264 GB, free: 12.64 MB / 0.4948 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 9.648e-05/0.007989, allocations: 160.5 kB / 0.5266 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.596e-05/0.008005, allocations: 12.39 kB / 0.5266 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.403e-05/0.008029, allocations: 8 kB / 0.5266 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.008032, allocations: 2.031 kB / 0.5266 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-06/0.008033, allocations: 4 kB / 0.5266 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.008036, allocations: 0 / 0.5266 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.245e-05/0.008129, allocations: 101.2 kB / 0.5267 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.00813, allocations: 0 / 0.5267 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.433e-06/0.008137, allocations: 2.438 kB / 0.5267 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.008141, allocations: 4.234 kB / 0.5267 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.418e-06/0.008145, allocations: 0 / 0.5267 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.706e-06/0.008148, allocations: 3.938 kB / 0.5267 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.008151, allocations: 3.984 kB / 0.5267 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001079/0.008258, allocations: 88.36 kB / 0.5268 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.344e-06/0.008266, allocations: 4 kB / 0.5268 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.061e-05/0.008276, allocations: 2.219 kB / 0.5268 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.603e-05/0.008292, allocations: 3.938 kB / 0.5268 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.506e-05/0.008318, allocations: 7.984 kB / 0.5268 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.008322, allocations: 0 / 0.5268 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002754/0.008597, allocations: 127.2 kB / 0.5269 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.9e-07/0.008597, allocations: 0 / 0.5269 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002635/0.008861, allocations: 20.98 kB / 0.5269 GB, free: 12.04 MB / 0.4948 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.000141/0.009002, allocations: 100.4 kB / 0.527 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001954/0.009197, allocations: 136.7 kB / 0.5272 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.009199, allocations: 3.188 kB / 0.5272 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.532e-05/0.009225, allocations: 23.66 kB / 0.5272 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002127/0.009438, allocations: 8 kB / 0.5272 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002804/0.009718, allocations: 130.2 kB / 0.5273 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.46e-05/0.009753, allocations: 55.36 kB / 0.5274 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.391e-05/0.009776, allocations: 4 kB / 0.5274 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.009877, allocations: 88.95 kB / 0.5275 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of SimCode: time 1.212e-06/0.009878, allocations: 0 / 0.5275 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of Templates: time 0.003806/0.01368, allocations: 1.295 MB / 0.5287 GB, free: 10.21 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8051733230240643]