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.001218/0.001218, allocations: 77.14 kB / 20.67 MB, free: 3.836 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.001379/0.001379, allocations: 165 kB / 24.06 MB, free: 456 kB / 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.9282/0.9282, allocations: 177.1 MB / 204.5 MB, free: 5.535 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.05545/0.05545, allocations: 12.76 MB / 273.8 MB, free: 144 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.343e-06/1.343e-06, allocations: 3.938 kB / 348 MB, free: 1.988 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.37e-05/1.504e-05, allocations: 2.312 kB / 348 MB, free: 1.984 MB / 314.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Types.Examples.Units): time 0.002741/0.002756, allocations: 1.874 MB / 349.9 MB, free: 104 kB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 9.751e-05/0.002854, allocations: 63.75 kB / 349.9 MB, free: 40 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.828e-05/0.002892, allocations: 0 / 349.9 MB, free: 40 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 3.175e-05/0.002924, allocations: 15.84 kB / 349.9 MB, free: 24 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001374/0.003061, allocations: 51.61 kB / 350 MB, free: 15.97 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.629e-06/0.003066, allocations: 0 / 350 MB, free: 15.97 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001079/0.003173, allocations: 103.1 kB / 350.1 MB, free: 15.87 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.022e-05/0.003224, allocations: 4 kB / 350.1 MB, free: 15.86 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.852e-05/0.003272, allocations: 43.89 kB / 350.1 MB, free: 15.82 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.536e-05/0.003348, allocations: 19.94 kB / 350.2 MB, free: 15.8 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.153e-05/0.003359, allocations: 0 / 350.2 MB, free: 15.8 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.956e-06/0.003368, allocations: 3.938 kB / 350.2 MB, free: 15.8 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.114e-05/0.003379, allocations: 4 kB / 350.2 MB, free: 15.79 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.138e-05/0.003411, allocations: 23.94 kB / 350.2 MB, free: 15.77 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 8.508e-05/0.003496, allocations: 51.73 kB / 350.2 MB, free: 15.72 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.003497, allocations: 4 kB / 350.2 MB, free: 15.71 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.524e-06/0.0035, allocations: 3.984 kB / 350.2 MB, free: 15.71 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.948e-06/0.003504, allocations: 0 / 350.2 MB, free: 15.71 MB / 330.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.0002786/0.003782, allocations: 416 kB / 350.6 MB, free: 15.27 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.003822, allocations: 15.98 kB / 350.7 MB, free: 15.25 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.058e-05/0.003872, allocations: 128.1 kB / 350.8 MB, free: 15.12 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.003995, allocations: 255.6 kB / 351 MB, free: 14.85 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.938e-05/0.004055, allocations: 242.7 kB / 351.3 MB, free: 14.61 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.838e-05/0.004113, allocations: 246.7 kB / 351.5 MB, free: 14.37 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.13e-05/0.004174, allocations: 153.4 kB / 351.7 MB, free: 14.21 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.199e-05/0.004206, allocations: 123.4 kB / 351.8 MB, free: 14.09 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.698e-05/0.004263, allocations: 238.8 kB / 352 MB, free: 13.86 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.749e-05/0.004321, allocations: 238.8 kB / 352.3 MB, free: 13.62 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.93e-05/0.00439, allocations: 246.3 kB / 352.5 MB, free: 13.38 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002497/0.00464, allocations: 0.5647 MB / 353.1 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.291e-05/0.004723, allocations: 269.4 kB / 353.3 MB, free: 12.51 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.365e-05/0.004756, allocations: 126.9 kB / 353.4 MB, free: 12.38 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002557/0.005012, allocations: 119.2 kB / 353.6 MB, free: 12.27 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.801e-05/0.00506, allocations: 156.6 kB / 353.7 MB, free: 12.1 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.005061, allocations: 0 / 353.7 MB, free: 12.1 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 5.942e-05/0.00512, allocations: 37.64 kB / 353.7 MB, free: 12.06 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.053e-05/0.005141, allocations: 55.41 kB / 353.8 MB, free: 11.99 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.005281, allocations: 217.8 kB / 354 MB, free: 11.76 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.005e-06/0.005289, allocations: 25.7 kB / 354 MB, free: 11.73 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.993e-05/0.005349, allocations: 154.8 kB / 354.2 MB, free: 11.57 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.81e-07/0.00535, allocations: 3.938 kB / 354.2 MB, free: 11.57 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.255e-05/0.005372, allocations: 15.38 kB / 354.2 MB, free: 11.55 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.005501, allocations: 0.4961 MB / 354.7 MB, free: 11.04 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.176e-06/0.005504, allocations: 0 / 354.7 MB, free: 11.04 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.366e-06/0.005507, allocations: 0 / 354.7 MB, free: 11.04 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.932e-05/0.005537, allocations: 119.2 kB / 354.8 MB, free: 10.92 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.857e-05/0.005565, allocations: 123.2 kB / 354.9 MB, free: 10.8 MB / 330.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.616e-05/0.005621, allocations: 45.59 kB / 355 MB, free: 10.75 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.846e-05/0.00566, allocations: 123.2 kB / 355.1 MB, free: 10.63 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.311e-05/0.005693, allocations: 131.1 kB / 355.2 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.324e-05/0.005756, allocations: 238.4 kB / 355.5 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.171e-05/0.005788, allocations: 119.2 kB / 355.6 MB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.876e-05/0.005847, allocations: 246.4 kB / 355.8 MB, free: 9.906 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.353e-05/0.00593, allocations: 123.2 kB / 355.9 MB, free: 9.785 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.951e-05/0.00596, allocations: 123.1 kB / 356.1 MB, free: 9.664 MB / 330.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.0001234/0.006083, allocations: 402.9 kB / 356.5 MB, free: 9.258 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.973e-05/0.006143, allocations: 160.8 kB / 356.6 MB, free: 9.094 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.562e-05/0.006198, allocations: 161.1 kB / 356.8 MB, free: 8.934 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.259e-05/0.006271, allocations: 268.1 kB / 357 MB, free: 8.664 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-05/0.006311, allocations: 152.8 kB / 357.2 MB, free: 8.508 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.565e-05/0.006367, allocations: 156.8 kB / 357.3 MB, free: 8.348 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.543e-05/0.006452, allocations: 272 kB / 357.6 MB, free: 8.074 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.948e-05/0.006542, allocations: 144.9 kB / 357.7 MB, free: 7.926 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.76e-05/0.006609, allocations: 272 kB / 358 MB, free: 7.652 MB / 330.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.536e-05/0.006705, allocations: 387.3 kB / 358.4 MB, free: 7.266 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001716/0.006876, allocations: 0.5619 MB / 359 MB, free: 6.676 MB / 330.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.617e-05/0.006922, allocations: 152.8 kB / 359.1 MB, free: 6.52 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.76e-05/0.007, allocations: 171 kB / 359.3 MB, free: 6.352 MB / 330.7 MB Notification: Performance of Backend: time 3.61e-07/0.007, allocations: 0 / 359.3 MB, free: 6.352 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002867/0.007287, allocations: 76.05 kB / 359.3 MB, free: 6.273 MB / 330.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: time 0.003184/0.01047, allocations: 1.755 MB / 361.1 MB, free: 4.453 MB / 330.7 MB Notification: Performance of Templates: time 0.0029/0.01337, allocations: 1.138 MB / 362.2 MB, free: 3.359 MB / 330.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 & ./Bodylight_Bodylight.Types.Examples.Units -abortSlowSimulation -alarm=240 -lv LOG_STATS > Bodylight_Bodylight.Types.Examples.Units.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.518743913155049]