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.001102/0.001102, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001155/0.001155, allocations: 173 kB / 23.49 MB, free: 1.062 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 1.084/1.084, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.8363/0.8363, allocations: 154.8 MB / 415.1 MB, free: 472 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.505e-06/2.505e-06, allocations: 0 / 0.5206 GB, free: 2.281 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.557e-05/2.807e-05, allocations: 2.312 kB / 0.5206 GB, free: 2.277 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001359/0.001388, allocations: 0.6226 MB / 0.5212 GB, free: 1.68 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00118/0.002568, allocations: 1.167 MB / 0.5223 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.766e-05/0.002615, allocations: 4 kB / 0.5223 GB, free: 0.5 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 9.745e-05/0.002713, allocations: 7.875 kB / 0.5223 GB, free: 0.4922 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.654e-05/0.002739, allocations: 4.609 kB / 0.5223 GB, free: 500 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003851/0.003124, allocations: 121.4 kB / 0.5224 GB, free: 380 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001387/0.003263, allocations: 91.83 kB / 0.5225 GB, free: 288 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.086e-05/0.003344, allocations: 0 / 0.5225 GB, free: 288 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.283e-05/0.003417, allocations: 55.94 kB / 0.5226 GB, free: 232 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.543e-05/0.003502, allocations: 25.44 kB / 0.5226 GB, free: 208 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.86e-05/0.003521, allocations: 11.94 kB / 0.5226 GB, free: 196 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.108e-05/0.003572, allocations: 19.98 kB / 0.5226 GB, free: 176 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.622e-05/0.003628, allocations: 11.98 kB / 0.5226 GB, free: 164 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 5.019e-05/0.003678, allocations: 25.25 kB / 0.5227 GB, free: 140 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.003817, allocations: 79.78 kB / 0.5227 GB, free: 60 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.003819, allocations: 0 / 0.5227 GB, free: 60 kB / 490.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.00382, allocations: 0 / 0.5227 GB, free: 60 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.003824, allocations: 0.625 kB / 0.5227 GB, free: 60 kB / 490.7 MB 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.0004546/0.004279, allocations: 407 kB / 0.5231 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.004324, allocations: 8.031 kB / 0.5231 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.44e-05/0.004378, allocations: 14.28 kB / 0.5232 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001706/0.004549, allocations: 128.5 kB / 0.5233 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.004565, allocations: 4.359 kB / 0.5233 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.739e-05/0.004583, allocations: 8.375 kB / 0.5233 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.523e-05/0.004678, allocations: 39.25 kB / 0.5233 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.004686, allocations: 192 / 0.5233 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.004698, allocations: 4.375 kB / 0.5233 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.677e-06/0.004707, allocations: 7.844 kB / 0.5233 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.948e-05/0.004726, allocations: 7.938 kB / 0.5234 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003078/0.005034, allocations: 295.7 kB / 0.5236 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.239e-05/0.005076, allocations: 27.06 kB / 0.5237 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.218e-05/0.005088, allocations: 7.688 kB / 0.5237 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.23e-06/0.005094, allocations: 4.062 kB / 0.5237 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.847e-05/0.005182, allocations: 64.98 kB / 0.5237 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 9.21e-07/0.005183, allocations: 0 / 0.5237 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.000161/0.005344, allocations: 66.14 kB / 0.5238 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.005378, allocations: 55.95 kB / 0.5238 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.891e-05/0.005467, allocations: 173.9 kB / 0.524 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.005483, allocations: 26.27 kB / 0.524 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.797e-05/0.005531, allocations: 135.8 kB / 0.5242 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.025e-05/0.005541, allocations: 11.95 kB / 0.5242 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.513e-05/0.005586, allocations: 35.36 kB / 0.5242 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.005701, allocations: 497.6 kB / 0.5247 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.207e-05/0.005763, allocations: 53.69 kB / 0.5247 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.448e-05/0.005827, allocations: 85.05 kB / 0.5248 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.306e-05/0.0059, allocations: 89.42 kB / 0.5249 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.005902, allocations: 0.5625 kB / 0.5249 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000174/0.006076, allocations: 174.9 kB / 0.5251 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.983e-05/0.006106, allocations: 37.7 kB / 0.5251 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.00611, allocations: 0 / 0.5251 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.006125, allocations: 3.984 kB / 0.5251 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.843e-05/0.006144, allocations: 7.938 kB / 0.5251 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.00615, allocations: 0.5 kB / 0.5251 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000117/0.006267, allocations: 16.7 kB / 0.5251 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.00628, allocations: 4.562 kB / 0.5251 GB, free: 13.35 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.675e-05/0.006357, allocations: 166.5 kB / 0.5253 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.04e-05/0.006367, allocations: 11.89 kB / 0.5253 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.321e-05/0.00639, allocations: 8 kB / 0.5253 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.006392, allocations: 0 / 0.5253 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.006396, allocations: 0 / 0.5253 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.006399, allocations: 2.75 kB / 0.5253 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.501e-05/0.006474, allocations: 120.6 kB / 0.5254 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.006475, allocations: 0 / 0.5254 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.687e-06/0.006478, allocations: 3.938 kB / 0.5254 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.006482, allocations: 3.938 kB / 0.5254 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.58e-06/0.006487, allocations: 0 / 0.5254 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.006488, allocations: 0 / 0.5254 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.006489, allocations: 1.75 kB / 0.5254 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.272e-05/0.006571, allocations: 92.36 kB / 0.5255 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.818e-06/0.006581, allocations: 8.281 kB / 0.5255 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.156e-05/0.006593, allocations: 3.938 kB / 0.5255 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.354e-06/0.0066, allocations: 0 / 0.5255 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.131e-05/0.006631, allocations: 8.906 kB / 0.5256 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-06/0.006637, allocations: 4 kB / 0.5256 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.151e-05/0.006678, allocations: 123.2 kB / 0.5257 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.006678, allocations: 0.8125 kB / 0.5257 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001471/0.006825, allocations: 23.95 kB / 0.5257 GB, free: 12.71 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.0001195/0.006945, allocations: 108.6 kB / 0.5258 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000163/0.007108, allocations: 143.7 kB / 0.5259 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.007109, allocations: 0 / 0.5259 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.974e-05/0.007129, allocations: 15.67 kB / 0.526 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001494/0.007278, allocations: 12 kB / 0.526 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000259/0.007537, allocations: 138.1 kB / 0.5261 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.279e-05/0.00757, allocations: 58.48 kB / 0.5262 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.518e-05/0.007585, allocations: 0 / 0.5262 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.889e-05/0.007604, allocations: 16.48 kB / 0.5262 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of SimCode: time 7.72e-07/0.007605, allocations: 0 / 0.5262 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of Templates: time 0.002759/0.01036, allocations: 1.156 MB / 0.5273 GB, free: 11.07 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.9059766351711005]