Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Types.Examples.Units.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.001052/0.001052, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001259/0.001259, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.023/1.023, allocations: 177.1 MB / 203.7 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo): time 0.0648/0.0648, allocations: 12.74 MB / 273 MB, free: 132 kB / 250.7 MB " [Timeout remaining time 180] Using package Bodylight with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/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(Bodylight.Types.Examples.Units,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Types.Examples.Units") translateModel(Bodylight.Types.Examples.Units,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Types.Examples.Units") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 347.2 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.398e-05/1.508e-05, allocations: 6.25 kB / 347.2 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Types.Examples.Units): time 0.001827/0.001842, allocations: 1.866 MB / 349.1 MB, free: 15.02 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 8.975e-05/0.001932, allocations: 63.69 kB / 349.1 MB, free: 14.96 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.539e-05/0.001968, allocations: 0 / 349.1 MB, free: 14.96 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.407e-05/0.001992, allocations: 11.92 kB / 349.1 MB, free: 14.95 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.633e-05/0.002088, allocations: 55.47 kB / 349.2 MB, free: 14.89 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.818e-06/0.002092, allocations: 4 kB / 349.2 MB, free: 14.89 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.48e-05/0.002187, allocations: 103.1 kB / 349.3 MB, free: 14.79 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.192e-05/0.002228, allocations: 4 kB / 349.3 MB, free: 14.79 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.826e-05/0.002277, allocations: 35.91 kB / 349.3 MB, free: 14.75 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.751e-05/0.002344, allocations: 27.92 kB / 349.4 MB, free: 14.72 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.699e-06/0.002354, allocations: 0 / 349.4 MB, free: 14.72 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.995e-06/0.002362, allocations: 0 / 349.4 MB, free: 14.72 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.255e-05/0.002374, allocations: 3.938 kB / 349.4 MB, free: 14.72 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.399e-05/0.002398, allocations: 23.94 kB / 349.4 MB, free: 14.7 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 8.515e-05/0.002484, allocations: 47.73 kB / 349.4 MB, free: 14.65 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.002486, allocations: 4 kB / 349.4 MB, free: 14.64 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.002487, allocations: 4 kB / 349.4 MB, free: 14.64 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.002491, allocations: 0 / 349.4 MB, free: 14.64 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002634/0.002755, allocations: 416.1 kB / 349.9 MB, free: 14.2 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.002792, allocations: 15.98 kB / 349.9 MB, free: 14.18 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.9e-05/0.002841, allocations: 140 kB / 350 MB, free: 14.04 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.00298, allocations: 255.6 kB / 350.3 MB, free: 13.77 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.517e-05/0.003045, allocations: 238.8 kB / 350.5 MB, free: 13.53 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.4e-05/0.003109, allocations: 246.7 kB / 350.7 MB, free: 13.29 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.971e-05/0.003179, allocations: 149.5 kB / 350.9 MB, free: 13.14 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.551e-05/0.003215, allocations: 123.4 kB / 351 MB, free: 13.02 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.2e-05/0.003267, allocations: 246.7 kB / 351.2 MB, free: 12.77 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-05/0.003318, allocations: 238.8 kB / 351.5 MB, free: 12.54 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.564e-05/0.003374, allocations: 250.2 kB / 351.7 MB, free: 12.29 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002088/0.003583, allocations: 0.5647 MB / 352.3 MB, free: 11.7 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.075e-05/0.003664, allocations: 261.4 kB / 352.5 MB, free: 11.43 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.296e-05/0.003696, allocations: 126.9 kB / 352.7 MB, free: 11.3 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.194e-05/0.003728, allocations: 119.2 kB / 352.8 MB, free: 11.19 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.127e-05/0.00378, allocations: 156.6 kB / 352.9 MB, free: 11.02 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.003781, allocations: 0 / 352.9 MB, free: 11.02 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 5.439e-05/0.003835, allocations: 37.59 kB / 353 MB, free: 10.98 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.534e-05/0.00389, allocations: 178.6 kB / 353.1 MB, free: 10.79 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.004036, allocations: 217.8 kB / 353.4 MB, free: 10.56 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.317e-06/0.004045, allocations: 25.7 kB / 353.4 MB, free: 10.53 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.213e-05/0.004107, allocations: 154.8 kB / 353.5 MB, free: 10.38 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.573e-06/0.004109, allocations: 0 / 353.5 MB, free: 10.38 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.985e-05/0.004129, allocations: 15.38 kB / 353.5 MB, free: 10.35 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.00427, allocations: 0.4961 MB / 354 MB, free: 9.844 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.925e-06/0.004273, allocations: 0 / 354 MB, free: 9.844 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.915e-06/0.004276, allocations: 0 / 354 MB, free: 9.844 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.825e-05/0.004304, allocations: 119.2 kB / 354.2 MB, free: 9.727 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.069e-05/0.004335, allocations: 123.2 kB / 354.3 MB, free: 9.605 MB / 282.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.326e-05/0.004378, allocations: 41.59 kB / 354.3 MB, free: 9.559 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.083e-05/0.004419, allocations: 125.7 kB / 354.4 MB, free: 9.438 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.49e-05/0.004454, allocations: 127.2 kB / 354.6 MB, free: 9.312 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.707e-05/0.004521, allocations: 254.3 kB / 354.8 MB, free: 9.062 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.112e-05/0.004552, allocations: 119.2 kB / 354.9 MB, free: 8.945 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.655e-05/0.004619, allocations: 246.4 kB / 355.2 MB, free: 8.703 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.024e-05/0.004679, allocations: 123.1 kB / 355.3 MB, free: 8.582 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.191e-05/0.004711, allocations: 123.1 kB / 355.4 MB, free: 8.461 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0001284/0.004839, allocations: 395 kB / 355.8 MB, free: 8.062 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.292e-05/0.004902, allocations: 164.7 kB / 356 MB, free: 7.895 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.107e-05/0.004973, allocations: 161.4 kB / 356.1 MB, free: 7.73 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.673e-05/0.00505, allocations: 264.1 kB / 356.4 MB, free: 7.465 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.442e-05/0.005124, allocations: 272 kB / 356.6 MB, free: 7.191 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.734e-05/0.005192, allocations: 268.1 kB / 356.9 MB, free: 6.922 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000196/0.005388, allocations: 496.4 kB / 357.4 MB, free: 6.402 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.263e-05/0.00543, allocations: 156.8 kB / 357.5 MB, free: 6.242 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.384e-05/0.005474, allocations: 148.8 kB / 357.7 MB, free: 6.09 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.113e-05/0.005555, allocations: 264.1 kB / 357.9 MB, free: 5.824 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.953e-05/0.005645, allocations: 268.1 kB / 358.2 MB, free: 5.555 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.192e-05/0.005727, allocations: 272.3 kB / 358.5 MB, free: 5.281 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.948e-05/0.005796, allocations: 272.1 kB / 358.7 MB, free: 5.008 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001791/0.005975, allocations: 463.9 kB / 359.2 MB, free: 4.527 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.918e-05/0.006025, allocations: 152.8 kB / 359.3 MB, free: 4.371 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.654e-05/0.006111, allocations: 272 kB / 359.6 MB, free: 4.098 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.533e-05/0.006176, allocations: 144.9 kB / 359.7 MB, free: 3.949 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.068e-05/0.006247, allocations: 276 kB / 360 MB, free: 3.672 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.874e-05/0.006286, allocations: 144.9 kB / 360.2 MB, free: 3.523 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.797e-05/0.006354, allocations: 159.1 kB / 360.3 MB, free: 3.367 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006354, allocations: 0 / 360.3 MB, free: 3.367 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001469/0.006501, allocations: 8 kB / 360.3 MB, free: 3.359 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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 8.901e-05/0.00659, allocations: 214.4 kB / 360.5 MB, free: 3.141 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 3.691e-05/0.006627, allocations: 0 / 360.5 MB, free: 3.141 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.006628, allocations: 0 / 360.5 MB, free: 3.141 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.52e-07/0.006629, allocations: 3.938 kB / 360.5 MB, free: 3.137 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003751/0.007004, allocations: 0.7365 MB / 361.3 MB, free: 2.398 MB / 282.7 MB Error: Error parsing unit meq: Unit not found Error: Error parsing unit meq/min: Unit not found Error: Error parsing unit kcal: Unit not found Error: Error parsing unit %: Parse error Error: Error parsing unit litre_NIST: Prefix not found Error: Error parsing unit litre_SATP: Prefix not found Error: Error parsing unit litre_STP: Prefix not found Error: Error parsing unit kcal/min: Unit not found Error: Error parsing unit mosm/l: Unit not found Error: Error parsing unit cal/g: Unit not found Error: Error parsing unit kcal/(kg.K): Unit not found Error: Error parsing unit kcal/(min.K): Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001616/0.00862, allocations: 0.5285 MB / 361.8 MB, free: 1.832 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.25e-05/0.008653, allocations: 59.34 kB / 361.9 MB, free: 1.754 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.392e-05/0.008677, allocations: 8 kB / 361.9 MB, free: 1.746 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.994e-05/0.008747, allocations: 86.19 kB / 361.9 MB, free: 1.66 MB / 282.7 MB Notification: Performance of SimCode: time 6.41e-07/0.008747, allocations: 0 / 361.9 MB, free: 1.66 MB / 282.7 MB Notification: Performance of Templates: time 0.002283/0.01103, allocations: 1.106 MB / 363.1 MB, free: 0.5977 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Bodylight_Bodylight.Types.Examples.Units.makefile [Timeout 660] (rm -f Bodylight_Bodylight.Types.Examples.Units.pipe ; mkfifo Bodylight_Bodylight.Types.Examples.Units.pipe ; head -c 1048576 < Bodylight_Bodylight.Types.Examples.Units.pipe >> ../files/Bodylight_Bodylight.Types.Examples.Units.sim & (cd run_cvode && ../Bodylight_Bodylight.Types.Examples.Units -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Bodylight_Bodylight.Types.Examples.Units.pipe 2>&1) [Timeout 240] (rm -f Bodylight_Bodylight.Types.Examples.Units_gbode.pipe ; mkfifo Bodylight_Bodylight.Types.Examples.Units_gbode.pipe ; head -c 1048576 < Bodylight_Bodylight.Types.Examples.Units_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Bodylight_Bodylight.Types.Examples.Units_gbode.sim & (cd run_gbode && ../Bodylight_Bodylight.Types.Examples.Units -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Bodylight_Bodylight.Types.Examples.Units_gbode.pipe 2>&1) [Timeout 240] (rm -f Bodylight_Bodylight.Types.Examples.Units_ida.pipe ; mkfifo Bodylight_Bodylight.Types.Examples.Units_ida.pipe ; head -c 1048576 < Bodylight_Bodylight.Types.Examples.Units_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Bodylight_Bodylight.Types.Examples.Units_ida.sim & (cd run_ida && ../Bodylight_Bodylight.Types.Examples.Units -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Bodylight_Bodylight.Types.Examples.Units_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8172499062493443]