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.001313/0.001313, allocations: 81.06 kB / 19.18 MB, free: 2.527 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.001693/0.001693, allocations: 167.7 kB / 22.46 MB, free: 5.359 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.424/1.424, allocations: 177.1 MB / 202.8 MB, free: 9.172 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.186/1.186, allocations: 154.6 MB / 413.7 MB, free: 5.297 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.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.845e-06/2.845e-06, allocations: 3.938 kB / 0.6185 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.66e-05/3.944e-05, allocations: 2.281 kB / 0.6185 GB, free: 4.656 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001742/0.001782, allocations: 0.6017 MB / 0.6191 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001703/0.003485, allocations: 1.133 MB / 0.6202 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.42e-05/0.003529, allocations: 0 / 0.6202 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001057/0.003634, allocations: 0 / 0.6202 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.216e-05/0.003667, allocations: 12.83 kB / 0.6202 GB, free: 2.91 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004696/0.004136, allocations: 126.7 kB / 0.6203 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001571/0.004293, allocations: 87.86 kB / 0.6204 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.522e-05/0.004369, allocations: 12.78 kB / 0.6204 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.149e-05/0.00446, allocations: 47.97 kB / 0.6205 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.004566, allocations: 29.62 kB / 0.6205 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.946e-05/0.004595, allocations: 8 kB / 0.6205 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.147e-05/0.004657, allocations: 16 kB / 0.6205 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.324e-05/0.00471, allocations: 15.92 kB / 0.6206 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.945e-05/0.004769, allocations: 27.97 kB / 0.6206 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001759/0.004945, allocations: 115.7 kB / 0.6207 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.004948, allocations: 0 / 0.6207 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of FrontEnd: time 7.21e-07/0.004948, allocations: 0 / 0.6207 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.004952, allocations: 0 / 0.6207 GB, free: 2.438 MB / 0.5294 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.0004436/0.005396, allocations: 307.9 kB / 0.621 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.005431, allocations: 9.469 kB / 0.621 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.462e-05/0.005476, allocations: 4.938 kB / 0.621 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.005643, allocations: 125.7 kB / 0.6211 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.005657, allocations: 4.312 kB / 0.6211 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.703e-05/0.005684, allocations: 8.375 kB / 0.6211 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/0.005797, allocations: 58.23 kB / 0.6212 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.005805, allocations: 192 / 0.6212 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.005814, allocations: 384 / 0.6212 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.005818, allocations: 384 / 0.6212 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.727e-05/0.005856, allocations: 15.94 kB / 0.6212 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000349/0.006205, allocations: 236.4 kB / 0.6214 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.803e-05/0.006263, allocations: 26.58 kB / 0.6215 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.295e-05/0.006286, allocations: 12.91 kB / 0.6215 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 8.146e-06/0.006294, allocations: 0 / 0.6215 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001357/0.00643, allocations: 59.34 kB / 0.6215 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.006431, allocations: 4 kB / 0.6215 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0002012/0.006632, allocations: 69.56 kB / 0.6216 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.006675, allocations: 51.41 kB / 0.6216 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.006779, allocations: 109.8 kB / 0.6217 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.128e-05/0.00681, allocations: 25.7 kB / 0.6218 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.442e-05/0.006874, allocations: 92.12 kB / 0.6219 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.608e-06/0.006884, allocations: 3.953 kB / 0.6219 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.227e-05/0.006946, allocations: 29.7 kB / 0.6219 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.007088, allocations: 322.8 kB / 0.6222 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.72e-05/0.007186, allocations: 53.69 kB / 0.6222 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.007292, allocations: 88.19 kB / 0.6223 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001202/0.007412, allocations: 84.2 kB / 0.6224 GB, free: 472 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.007413, allocations: 0 / 0.6224 GB, free: 472 kB / 0.5294 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002892/0.007702, allocations: 180.9 kB / 0.6226 GB, free: 272 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.657e-05/0.007749, allocations: 37.69 kB / 0.6226 GB, free: 228 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.007753, allocations: 0 / 0.6226 GB, free: 228 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.007765, allocations: 0 / 0.6226 GB, free: 228 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.346e-05/0.007779, allocations: 4 kB / 0.6226 GB, free: 224 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.007783, allocations: 0 / 0.6226 GB, free: 224 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00019/0.007973, allocations: 28.06 kB / 0.6227 GB, free: 196 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.367e-05/0.007997, allocations: 11.98 kB / 0.6227 GB, free: 184 kB / 0.5294 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.436e-05/0.008091, allocations: 122.8 kB / 0.6228 GB, free: 52 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.019e-05/0.008101, allocations: 3.938 kB / 0.6228 GB, free: 48 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.432e-05/0.008126, allocations: 8 kB / 0.6228 GB, free: 28 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.008127, allocations: 4 kB / 0.6228 GB, free: 24 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.008131, allocations: 0 / 0.6228 GB, free: 24 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.008133, allocations: 0 / 0.6228 GB, free: 24 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00011/0.008243, allocations: 109.6 kB / 0.6229 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.008244, allocations: 8 kB / 0.6229 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.843e-06/0.008251, allocations: 4 kB / 0.6229 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.008254, allocations: 3.938 kB / 0.6229 GB, free: 15.87 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.00826, allocations: 240 / 0.6229 GB, free: 15.87 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.008262, allocations: 0 / 0.6229 GB, free: 15.87 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.008262, allocations: 0 / 0.6229 GB, free: 15.87 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001129/0.008375, allocations: 89.05 kB / 0.623 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.765e-06/0.008383, allocations: 4 kB / 0.623 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.008396, allocations: 7.875 kB / 0.623 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.351e-05/0.008409, allocations: 3.938 kB / 0.623 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.423e-05/0.008434, allocations: 4 kB / 0.623 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.786e-06/0.008442, allocations: 7.984 kB / 0.623 GB, free: 15.74 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.41e-05/0.008486, allocations: 83.28 kB / 0.6231 GB, free: 15.66 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.008487, allocations: 0 / 0.6231 GB, free: 15.66 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002053/0.008692, allocations: 16 kB / 0.6231 GB, free: 15.64 MB / 0.545 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.0001466/0.008839, allocations: 102.4 kB / 0.6232 GB, free: 15.54 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002092/0.009048, allocations: 137.1 kB / 0.6233 GB, free: 15.38 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.009049, allocations: 3.938 kB / 0.6234 GB, free: 15.38 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.465e-05/0.009074, allocations: 7.938 kB / 0.6234 GB, free: 15.37 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001838/0.009258, allocations: 12.17 kB / 0.6234 GB, free: 15.36 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002772/0.009535, allocations: 128.7 kB / 0.6235 GB, free: 15.21 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.824e-05/0.009593, allocations: 67.33 kB / 0.6236 GB, free: 15.12 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.532e-05/0.009609, allocations: 4 kB / 0.6236 GB, free: 15.12 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.599e-05/0.009625, allocations: 8.5 kB / 0.6236 GB, free: 15.11 MB / 0.545 GB Notification: Performance of SimCode: time 3.91e-07/0.009625, allocations: 4 kB / 0.6236 GB, free: 15.11 MB / 0.545 GB Notification: Performance of Templates: time 0.00357/0.0132, allocations: 1.133 MB / 0.6247 GB, free: 14.02 MB / 0.545 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.71681622415781] Failed to read output from testmodel.py, exit status != 0: 0.021459415555000305 0.034999827000000004 0.027158349000000002 Calling exit ...