Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BusinessSimulation_dev_BusinessSimulation.Examples.LookupFunctions.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.0006275/0.0006275, allocations: 88.7 kB / 20.2 MB, free: 4.23 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.0007251/0.0007251, allocations: 161.3 kB / 23.51 MB, free: 0.9219 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.8632/0.8632, allocations: 177.2 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BusinessSimulation main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BusinessSimulation main/package.mo): time 0.0971/0.0971, allocations: 24.13 MB / 284.5 MB, free: 5.293 MB / 266.7 MB " [Timeout remaining time 180] Using package BusinessSimulation with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BusinessSimulation main/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(BusinessSimulation.Examples.LookupFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="BusinessSimulation_dev_BusinessSimulation.Examples.LookupFunctions") translateModel(BusinessSimulation.Examples.LookupFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="BusinessSimulation_dev_BusinessSimulation.Examples.LookupFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 361.2 MB, free: 4.395 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.374e-05/1.533e-05, allocations: 2.312 kB / 361.2 MB, free: 4.391 MB / 330.7 MB Notification: Performance of NFInst.instantiate(BusinessSimulation.Examples.LookupFunctions): time 0.005179/0.005194, allocations: 6.45 MB / 367.7 MB, free: 13.91 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00234/0.007535, allocations: 2.373 MB / 370 MB, free: 11.54 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003138/0.007849, allocations: 35.69 kB / 370.1 MB, free: 11.5 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003346/0.008183, allocations: 174.5 kB / 370.2 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004045/0.008588, allocations: 198.5 kB / 370.4 MB, free: 11.13 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005029/0.009091, allocations: 339.1 kB / 370.8 MB, free: 10.8 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005502/0.009641, allocations: 0.7341 MB / 371.5 MB, free: 10.07 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003041/0.009945, allocations: 244.8 kB / 371.7 MB, free: 9.824 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002695/0.01021, allocations: 346.9 kB / 372.1 MB, free: 9.484 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000132/0.01035, allocations: 167.3 kB / 372.2 MB, free: 9.32 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.185e-05/0.01039, allocations: 44 kB / 372.3 MB, free: 9.277 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.01049, allocations: 83.92 kB / 372.4 MB, free: 9.195 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.0106, allocations: 151.3 kB / 372.5 MB, free: 9.047 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.0107, allocations: 167.3 kB / 372.7 MB, free: 8.883 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007481/0.01145, allocations: 0.6539 MB / 373.3 MB, free: 8.227 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.01145, allocations: 0 / 373.3 MB, free: 8.227 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.01145, allocations: 0 / 373.3 MB, free: 8.227 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.01146, allocations: 0 / 373.3 MB, free: 8.227 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.0009105/0.01237, allocations: 0.9473 MB / 374.3 MB, free: 7.246 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.01241, allocations: 8.75 kB / 374.3 MB, free: 7.238 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002447/0.01266, allocations: 131.4 kB / 374.4 MB, free: 7.109 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004707/0.01313, allocations: 456.2 kB / 374.9 MB, free: 6.637 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.497e-05/0.01315, allocations: 29 kB / 374.9 MB, free: 6.609 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.409e-05/0.01319, allocations: 36 kB / 374.9 MB, free: 6.574 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006541/0.01384, allocations: 0.8176 MB / 375.7 MB, free: 5.617 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.01385, allocations: 0 / 375.7 MB, free: 5.617 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.805e-05/0.01388, allocations: 16 kB / 375.8 MB, free: 5.602 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.01389, allocations: 8 kB / 375.8 MB, free: 5.594 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004014/0.01429, allocations: 262.4 kB / 376 MB, free: 5.34 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001391/0.01568, allocations: 0.9438 MB / 377 MB, free: 4.359 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004284/0.01611, allocations: 173 kB / 377.1 MB, free: 4.172 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001335/0.01624, allocations: 81.66 kB / 377.2 MB, free: 4.086 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.01626, allocations: 0 / 377.2 MB, free: 4.086 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.01629, allocations: 38.56 kB / 377.3 MB, free: 4.039 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 1.463e-06/0.01629, allocations: 0 / 377.3 MB, free: 4.039 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005426/0.01684, allocations: 297.3 kB / 377.5 MB, free: 3.742 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001311/0.01697, allocations: 445 kB / 378 MB, free: 3.203 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005133/0.01748, allocations: 0.6449 MB / 378.6 MB, free: 2.547 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.0175, allocations: 33.7 kB / 378.7 MB, free: 2.508 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001659/0.01767, allocations: 320.5 kB / 379 MB, free: 2.188 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.545e-05/0.0177, allocations: 43.83 kB / 379 MB, free: 2.145 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.683e-05/0.01776, allocations: 53.61 kB / 379.1 MB, free: 2.086 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.01788, allocations: 366.7 kB / 379.4 MB, free: 1.719 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/0.01801, allocations: 67.89 kB / 379.5 MB, free: 1.652 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002983/0.01831, allocations: 0.5413 MB / 380 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002755/0.01859, allocations: 162.4 kB / 380.2 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.01859, allocations: 0 / 380.2 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003683/0.01896, allocations: 249.2 kB / 380.4 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.01897, allocations: 6.5 kB / 380.4 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.01898, allocations: 4 kB / 380.4 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.01899, allocations: 3.938 kB / 380.4 MB, free: 0.543 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.01911, allocations: 43.98 kB / 380.5 MB, free: 0.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.01911, allocations: 0 / 380.5 MB, free: 0.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001596/0.01927, allocations: 51.78 kB / 380.5 MB, free: 460 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.01929, allocations: 4.312 kB / 380.5 MB, free: 456 kB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * 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.0001469/0.01943, allocations: 181.8 kB / 380.7 MB, free: 264 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.522e-05/0.0195, allocations: 71.61 kB / 380.8 MB, free: 192 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002972/0.0198, allocations: 187.2 kB / 381 MB, free: 15.99 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.0198, allocations: 3.984 kB / 381 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.0198, allocations: 3.938 kB / 381 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.01981, allocations: 4 kB / 381 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003058/0.02011, allocations: 356.9 kB / 381.3 MB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.02011, allocations: 0 / 381.3 MB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.142e-05/0.02021, allocations: 35.91 kB / 381.4 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/0.02021, allocations: 4 kB / 381.4 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.02022, allocations: 11.94 kB / 381.4 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.02022, allocations: 0 / 381.4 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.02022, allocations: 0 / 381.4 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003684/0.02059, allocations: 402.3 kB / 381.8 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000121/0.02071, allocations: 101.5 kB / 381.9 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.392e-05/0.02074, allocations: 8 kB / 381.9 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001668/0.02091, allocations: 35.95 kB / 381.9 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.911e-05/0.02095, allocations: 11.98 kB / 381.9 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.725e-06/0.02096, allocations: 4 kB / 381.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003388/0.0213, allocations: 467 kB / 382.4 MB, free: 14.53 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0213, allocations: 0 / 382.4 MB, free: 14.53 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002681/0.02157, allocations: 107.6 kB / 382.5 MB, free: 14.43 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0005977/0.02216, allocations: 385.9 kB / 382.9 MB, free: 14.22 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003395/0.0225, allocations: 167.8 kB / 383 MB, free: 14.05 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.0225, allocations: 0 / 383 MB, free: 14.05 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001334/0.02264, allocations: 79.88 kB / 383.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004581/0.0231, allocations: 140 kB / 383.3 MB, free: 13.85 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.02427, allocations: 0.8941 MB / 384.1 MB, free: 12.92 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001799/0.02445, allocations: 292.1 kB / 384.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001313/0.02458, allocations: 67.45 kB / 384.5 MB, free: 12.54 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.796e-05/0.02465, allocations: 44.48 kB / 384.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of SimCode: time 6.12e-07/0.02465, allocations: 0 / 384.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of Templates: time 0.008599/0.03324, allocations: 7.189 MB / 391.7 MB, free: 5.492 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f BusinessSimulation_dev_BusinessSimulation.Examples.LookupFunctions.makefile [Timeout 660] (rm -f BusinessSimulation_dev_BusinessSimulation.Examples.LookupFunctions.pipe ; mkfifo BusinessSimulation_dev_BusinessSimulation.Examples.LookupFunctions.pipe ; head -c 1048576 < BusinessSimulation_dev_BusinessSimulation.Examples.LookupFunctions.pipe >> ../files/BusinessSimulation_dev_BusinessSimulation.Examples.LookupFunctions.sim & ./BusinessSimulation_dev_BusinessSimulation.Examples.LookupFunctions -abortSlowSimulation -alarm=480 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BusinessSimulation_dev_BusinessSimulation.Examples.LookupFunctions.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 2.627482056617737] Failed to read output from testmodel.py, exit status != 0: 0.038044799119234085 0.046399981 0.033388319 Calling exit ...