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.001342/0.001342, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 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.001578/0.001578, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.522/1.522, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 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-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 1.249/1.249, allocations: 154.8 MB / 414.4 MB, free: 480 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 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.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.504e-06/2.504e-06, allocations: 0 / 0.5198 GB, free: 2.316 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.821e-05/4.072e-05, allocations: 3.719 kB / 0.5198 GB, free: 2.312 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001778/0.001819, allocations: 0.6156 MB / 0.5204 GB, free: 1.723 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001711/0.00353, allocations: 1.138 MB / 0.5216 GB, free: 0.5742 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.409e-05/0.003584, allocations: 3.938 kB / 0.5216 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001071/0.003691, allocations: 0.5625 kB / 0.5216 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.137e-05/0.003723, allocations: 9.312 kB / 0.5216 GB, free: 0.5625 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004679/0.004191, allocations: 115.7 kB / 0.5217 GB, free: 460 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001781/0.004369, allocations: 92.31 kB / 0.5218 GB, free: 368 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.228e-05/0.004461, allocations: 8.484 kB / 0.5218 GB, free: 360 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.81e-05/0.004559, allocations: 43.97 kB / 0.5218 GB, free: 316 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000113/0.004672, allocations: 40.69 kB / 0.5219 GB, free: 276 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.614e-05/0.004698, allocations: 8 kB / 0.5219 GB, free: 268 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.176e-05/0.00476, allocations: 17.16 kB / 0.5219 GB, free: 252 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.579e-05/0.004816, allocations: 11.98 kB / 0.5219 GB, free: 240 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 6.803e-05/0.004884, allocations: 27.97 kB / 0.5219 GB, free: 212 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001939/0.005078, allocations: 100.3 kB / 0.522 GB, free: 112 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.005081, allocations: 1.781 kB / 0.522 GB, free: 112 kB / 490.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.005082, allocations: 0 / 0.522 GB, free: 112 kB / 490.7 MB Notification: Performance of Transformations before backend: time 3.537e-06/0.005085, allocations: 0 / 0.522 GB, free: 112 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.0005279/0.005613, allocations: 311.9 kB / 0.5223 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.005648, allocations: 8.031 kB / 0.5223 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.542e-05/0.005703, allocations: 6.656 kB / 0.5223 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001936/0.005897, allocations: 129.7 kB / 0.5225 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.005914, allocations: 8.359 kB / 0.5225 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/0.005934, allocations: 4.375 kB / 0.5225 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.006041, allocations: 42.25 kB / 0.5225 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.006049, allocations: 1.75 kB / 0.5225 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.006062, allocations: 8.375 kB / 0.5225 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.006065, allocations: 384 / 0.5225 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.1e-05/0.006096, allocations: 7.938 kB / 0.5225 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003634/0.00646, allocations: 237.3 kB / 0.5228 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.178e-05/0.006512, allocations: 20.05 kB / 0.5228 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.816e-05/0.00653, allocations: 8.797 kB / 0.5228 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.987e-06/0.006539, allocations: 0 / 0.5228 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001379/0.006677, allocations: 67.39 kB / 0.5228 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.006678, allocations: 5.281 kB / 0.5228 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0003157/0.006993, allocations: 69.62 kB / 0.5229 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/0.007044, allocations: 55.41 kB / 0.523 GB, free: 15 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.007145, allocations: 110.6 kB / 0.5231 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.896e-05/0.007174, allocations: 29.7 kB / 0.5231 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.482e-05/0.007258, allocations: 92.09 kB / 0.5232 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.775e-06/0.007266, allocations: 3.125 kB / 0.5232 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.845e-05/0.007335, allocations: 29.7 kB / 0.5232 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001742/0.007509, allocations: 318.8 kB / 0.5235 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.757e-05/0.007606, allocations: 57.69 kB / 0.5236 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.007724, allocations: 84.38 kB / 0.5237 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/0.007847, allocations: 80.31 kB / 0.5237 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.007848, allocations: 0.5625 kB / 0.5237 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003125/0.00816, allocations: 193.4 kB / 0.5239 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.38e-05/0.008214, allocations: 34.39 kB / 0.524 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.008221, allocations: 3.984 kB / 0.524 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.008239, allocations: 0.6875 kB / 0.524 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.945e-05/0.008259, allocations: 8.25 kB / 0.524 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.008263, allocations: 1.469 kB / 0.524 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002117/0.008475, allocations: 31.91 kB / 0.524 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.042e-05/0.008495, allocations: 4.938 kB / 0.524 GB, free: 13.86 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 0.0001131/0.008608, allocations: 121.8 kB / 0.5241 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.697e-05/0.008625, allocations: 9.234 kB / 0.5241 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.551e-05/0.008651, allocations: 12 kB / 0.5241 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.008652, allocations: 0 / 0.5241 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.008656, allocations: 1.219 kB / 0.5241 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.008658, allocations: 0 / 0.5241 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001154/0.008773, allocations: 109.3 kB / 0.5242 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.008774, allocations: 0 / 0.5242 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.621e-06/0.00878, allocations: 2.906 kB / 0.5242 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.855e-06/0.008788, allocations: 3.938 kB / 0.5243 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-06/0.008794, allocations: 0 / 0.5243 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.008795, allocations: 0 / 0.5243 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.008796, allocations: 3.938 kB / 0.5243 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001277/0.008924, allocations: 85.05 kB / 0.5243 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.456e-06/0.008932, allocations: 4 kB / 0.5243 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.008946, allocations: 3.938 kB / 0.5243 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.39e-05/0.008959, allocations: 2.75 kB / 0.5243 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.231e-05/0.008992, allocations: 7.984 kB / 0.5244 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/0.008996, allocations: 0 / 0.5244 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.051e-05/0.009056, allocations: 83.28 kB / 0.5244 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.009056, allocations: 0 / 0.5244 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002259/0.009282, allocations: 19.95 kB / 0.5245 GB, free: 13.34 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.0001555/0.009438, allocations: 99.98 kB / 0.5245 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002426/0.00968, allocations: 142.1 kB / 0.5247 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.009682, allocations: 0 / 0.5247 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.529e-05/0.009707, allocations: 4.781 kB / 0.5247 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002067/0.009914, allocations: 21.52 kB / 0.5247 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003181/0.01023, allocations: 128.5 kB / 0.5248 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.785e-05/0.01031, allocations: 71.28 kB / 0.5249 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.574e-05/0.01033, allocations: 2.438 kB / 0.5249 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.534e-05/0.01035, allocations: 12.5 kB / 0.5249 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of SimCode: time 4.31e-07/0.01035, allocations: 0 / 0.5249 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of Templates: time 0.003973/0.01432, allocations: 1.161 MB / 0.526 GB, free: 11.72 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=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.901931707980111]