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.001168/0.001168, allocations: 85.14 kB / 19.87 MB, free: 4.625 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.001304/0.001304, allocations: 165 kB / 23.27 MB, free: 1.23 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.913/0.913, allocations: 177.1 MB / 203.7 MB, free: 5.508 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.7787/0.7787, allocations: 154.9 MB / 415.1 MB, free: 280 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.003e-06/2.003e-06, allocations: 0 / 0.5211 GB, free: 1.547 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.134e-05/2.334e-05, allocations: 2.312 kB / 0.5211 GB, free: 1.543 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001327/0.001351, allocations: 0.6134 MB / 0.5217 GB, free: 0.9531 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.002435, allocations: 1.169 MB / 0.5229 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.781e-05/0.002483, allocations: 1.953 kB / 0.5229 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 8.553e-05/0.002569, allocations: 4 kB / 0.5229 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 2.659e-05/0.002595, allocations: 13.81 kB / 0.5229 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003794/0.002975, allocations: 120.6 kB / 0.523 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001315/0.003106, allocations: 91.88 kB / 0.5231 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.744e-05/0.003184, allocations: 0.5625 kB / 0.5231 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 8.708e-05/0.003271, allocations: 52.41 kB / 0.5231 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.883e-05/0.00337, allocations: 30.67 kB / 0.5232 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.00339, allocations: 8.719 kB / 0.5232 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.648e-05/0.003447, allocations: 19.98 kB / 0.5232 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.93e-05/0.003496, allocations: 13.16 kB / 0.5232 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.878e-05/0.003535, allocations: 23.97 kB / 0.5232 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001219/0.003657, allocations: 83.77 kB / 0.5233 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.003658, allocations: 0.5625 kB / 0.5233 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.82e-07/0.003659, allocations: 1.781 kB / 0.5233 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.606e-06/0.003663, allocations: 0 / 0.5233 GB, free: 15.33 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.0003331/0.003996, allocations: 410.2 kB / 0.5237 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.004029, allocations: 8.031 kB / 0.5237 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.342e-05/0.004063, allocations: 8.938 kB / 0.5237 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003714/0.004434, allocations: 130.3 kB / 0.5238 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.004445, allocations: 4.375 kB / 0.5238 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.316e-05/0.004458, allocations: 8.375 kB / 0.5238 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.619e-05/0.004514, allocations: 34.25 kB / 0.5239 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.00452, allocations: 192 / 0.5239 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.362e-06/0.004527, allocations: 5.844 kB / 0.5239 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.004533, allocations: 8.359 kB / 0.5239 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.779e-06/0.004543, allocations: 7.938 kB / 0.5239 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002051/0.004748, allocations: 265.1 kB / 0.5242 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.319e-05/0.004781, allocations: 31.05 kB / 0.5242 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.136e-05/0.004792, allocations: 13.22 kB / 0.5242 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.386e-06/0.004796, allocations: 0 / 0.5242 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.734e-05/0.004873, allocations: 68.91 kB / 0.5243 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.583e-06/0.004875, allocations: 1.344 kB / 0.5243 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001275/0.005002, allocations: 65.81 kB / 0.5243 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.516e-05/0.005027, allocations: 51.41 kB / 0.5244 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.417e-05/0.005101, allocations: 169.8 kB / 0.5245 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.005115, allocations: 26.3 kB / 0.5246 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.115e-05/0.005166, allocations: 138.8 kB / 0.5247 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.983e-06/0.005173, allocations: 7.297 kB / 0.5247 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.545e-05/0.005219, allocations: 43.34 kB / 0.5247 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.00532, allocations: 0.4883 MB / 0.5252 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.523e-05/0.005365, allocations: 45.69 kB / 0.5253 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.983e-05/0.005415, allocations: 76.73 kB / 0.5253 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.082e-05/0.005476, allocations: 84.69 kB / 0.5254 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.005478, allocations: 0 / 0.5254 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001541/0.005632, allocations: 169.9 kB / 0.5256 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.941e-05/0.005661, allocations: 44.53 kB / 0.5256 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.005665, allocations: 0 / 0.5256 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.005676, allocations: 4.875 kB / 0.5256 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.366e-05/0.00569, allocations: 0 / 0.5256 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.745e-06/0.005692, allocations: 1.469 kB / 0.5256 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.005797, allocations: 19.98 kB / 0.5256 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.005809, allocations: 7.984 kB / 0.5257 GB, free: 12.67 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 7.283e-05/0.005882, allocations: 165.3 kB / 0.5258 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.041e-05/0.005893, allocations: 13.14 kB / 0.5258 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.971e-05/0.005912, allocations: 4 kB / 0.5258 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.005914, allocations: 0 / 0.5258 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.005915, allocations: 0 / 0.5258 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.005918, allocations: 2.719 kB / 0.5258 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.666e-05/0.005985, allocations: 101.2 kB / 0.5259 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.005986, allocations: 0 / 0.5259 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.208e-06/0.00599, allocations: 4.312 kB / 0.5259 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.005992, allocations: 0 / 0.5259 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.468e-06/0.005996, allocations: 4 kB / 0.5259 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.005999, allocations: 3.938 kB / 0.5259 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.006, allocations: 6.688 kB / 0.5259 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.426e-05/0.006084, allocations: 84.42 kB / 0.526 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.333e-06/0.006091, allocations: 4 kB / 0.526 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.326e-06/0.0061, allocations: 4 kB / 0.526 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.387e-06/0.006109, allocations: 3.938 kB / 0.526 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.735e-05/0.006127, allocations: 3.984 kB / 0.526 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.00613, allocations: 0 / 0.526 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.554e-05/0.006165, allocations: 127.2 kB / 0.5262 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.006165, allocations: 0.9375 kB / 0.5262 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001367/0.006302, allocations: 19.95 kB / 0.5262 GB, free: 12.07 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.0001066/0.006408, allocations: 108.1 kB / 0.5263 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001267/0.006535, allocations: 137.6 kB / 0.5264 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.006536, allocations: 0.5938 kB / 0.5264 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.627e-05/0.006553, allocations: 19.61 kB / 0.5264 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001404/0.006693, allocations: 5.406 kB / 0.5264 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002082/0.006901, allocations: 138.1 kB / 0.5266 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.838e-05/0.00693, allocations: 57.8 kB / 0.5266 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.477e-05/0.006944, allocations: 0 / 0.5266 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.902e-05/0.007013, allocations: 90.17 kB / 0.5267 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of SimCode: time 6.51e-07/0.007014, allocations: 0 / 0.5267 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of Templates: time 0.002702/0.009716, allocations: 1.264 MB / 0.5279 GB, free: 10.26 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.532178794965148]