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.0008833/0.0008833, allocations: 73.88 kB / 20.65 MB, free: 3.848 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.001303/0.001303, allocations: 169 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.9986/0.9986, allocations: 177.1 MB / 204.5 MB, free: 5.473 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.05346/0.05346, allocations: 12.76 MB / 273.8 MB, free: 104 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.363e-06/1.363e-06, allocations: 0 / 348 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.798e-06/1.116e-05, allocations: 6.25 kB / 348 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Types.Examples.Units): time 0.001576/0.001587, allocations: 1.874 MB / 349.8 MB, free: 15.02 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 6.708e-05/0.001654, allocations: 67.69 kB / 349.9 MB, free: 14.96 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.21e-05/0.001686, allocations: 0 / 349.9 MB, free: 14.96 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.287e-05/0.001709, allocations: 11.91 kB / 349.9 MB, free: 14.95 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.954e-05/0.001798, allocations: 59.42 kB / 350 MB, free: 14.89 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.887e-06/0.001802, allocations: 4 kB / 350 MB, free: 14.88 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.279e-05/0.001885, allocations: 99.06 kB / 350.1 MB, free: 14.79 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.895e-05/0.001924, allocations: 4 kB / 350.1 MB, free: 14.78 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.509e-05/0.001959, allocations: 43.89 kB / 350.1 MB, free: 14.74 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.647e-05/0.002016, allocations: 19.94 kB / 350.1 MB, free: 14.72 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.383e-06/0.002023, allocations: 0 / 350.1 MB, free: 14.72 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.641e-06/0.002029, allocations: 4 kB / 350.2 MB, free: 14.71 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.074e-05/0.002039, allocations: 7.938 kB / 350.2 MB, free: 14.71 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.377e-05/0.002063, allocations: 23.94 kB / 350.2 MB, free: 14.68 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 6.479e-05/0.002128, allocations: 47.73 kB / 350.2 MB, free: 14.64 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.00213, allocations: 0 / 350.2 MB, free: 14.64 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.61e-07/0.00213, allocations: 0 / 350.2 MB, free: 14.64 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.397e-06/0.002133, allocations: 0 / 350.2 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.0002167/0.00235, allocations: 420.1 kB / 350.6 MB, free: 14.19 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.906e-05/0.002379, allocations: 11.98 kB / 350.7 MB, free: 14.18 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.466e-05/0.002424, allocations: 136 kB / 350.8 MB, free: 14.04 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.002533, allocations: 259.6 kB / 351 MB, free: 13.76 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.837e-05/0.002581, allocations: 246.8 kB / 351.3 MB, free: 13.52 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.542e-05/0.002626, allocations: 242.7 kB / 351.5 MB, free: 13.28 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.28e-05/0.002679, allocations: 153.5 kB / 351.7 MB, free: 13.12 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.643e-05/0.002706, allocations: 119.4 kB / 351.8 MB, free: 13.01 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.042e-05/0.002756, allocations: 238.8 kB / 352 MB, free: 12.77 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.827e-05/0.002804, allocations: 242.8 kB / 352.3 MB, free: 12.54 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.964e-05/0.002854, allocations: 246.2 kB / 352.5 MB, free: 12.29 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001904/0.003044, allocations: 0.5608 MB / 353.1 MB, free: 11.71 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.309e-05/0.003118, allocations: 265.4 kB / 353.3 MB, free: 11.43 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.927e-05/0.003147, allocations: 126.9 kB / 353.4 MB, free: 11.3 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.597e-05/0.003173, allocations: 127.2 kB / 353.6 MB, free: 11.18 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.153e-05/0.003214, allocations: 156.6 kB / 353.7 MB, free: 11.02 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 5.31e-07/0.003215, allocations: 0 / 353.7 MB, free: 11.02 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 4.639e-05/0.003261, allocations: 41.58 kB / 353.8 MB, free: 10.97 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.048e-05/0.003312, allocations: 170.6 kB / 353.9 MB, free: 10.79 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.003424, allocations: 217.8 kB / 354.1 MB, free: 10.56 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.032e-06/0.00343, allocations: 25.7 kB / 354.2 MB, free: 10.53 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.61e-05/0.003476, allocations: 154.8 kB / 354.3 MB, free: 10.37 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.82e-07/0.003477, allocations: 0 / 354.3 MB, free: 10.37 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.514e-05/0.003492, allocations: 15.38 kB / 354.3 MB, free: 10.35 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.003596, allocations: 0.4961 MB / 354.8 MB, free: 9.84 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.425e-06/0.003599, allocations: 4 kB / 354.8 MB, free: 9.836 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.275e-06/0.003601, allocations: 0 / 354.8 MB, free: 9.836 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.652e-05/0.003627, allocations: 123.2 kB / 354.9 MB, free: 9.715 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.293e-05/0.00365, allocations: 119.2 kB / 355.1 MB, free: 9.598 MB / 282.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.933e-05/0.00369, allocations: 41.58 kB / 355.1 MB, free: 9.551 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.21e-05/0.003722, allocations: 131.2 kB / 355.2 MB, free: 9.422 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.446e-05/0.003746, allocations: 119.2 kB / 355.3 MB, free: 9.305 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.002e-05/0.003796, allocations: 242.3 kB / 355.6 MB, free: 9.066 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.293e-05/0.003819, allocations: 119.2 kB / 355.7 MB, free: 8.949 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.554e-05/0.003865, allocations: 246.4 kB / 355.9 MB, free: 8.707 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.43e-05/0.003919, allocations: 131.1 kB / 356.1 MB, free: 8.578 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.368e-05/0.003943, allocations: 123.1 kB / 356.2 MB, free: 8.457 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 9.876e-05/0.004041, allocations: 398.9 kB / 356.6 MB, free: 8.055 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.654e-05/0.004088, allocations: 160.7 kB / 356.7 MB, free: 7.891 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.355e-05/0.004132, allocations: 157.4 kB / 356.9 MB, free: 7.73 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-05/0.004186, allocations: 272.1 kB / 357.2 MB, free: 7.457 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.296e-05/0.004239, allocations: 268 kB / 357.4 MB, free: 7.188 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.965e-05/0.004289, allocations: 264.1 kB / 357.7 MB, free: 6.922 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001647/0.004454, allocations: 0.4926 MB / 358.2 MB, free: 6.395 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.844e-05/0.004482, allocations: 144.9 kB / 358.3 MB, free: 6.246 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.238e-05/0.004515, allocations: 156.8 kB / 358.5 MB, free: 6.086 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.164e-05/0.004566, allocations: 272.1 kB / 358.7 MB, free: 5.812 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.147e-05/0.004618, allocations: 264.1 kB / 359 MB, free: 5.547 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.659e-05/0.004674, allocations: 268.4 kB / 359.2 MB, free: 5.277 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.769e-05/0.004732, allocations: 268.1 kB / 359.5 MB, free: 5.008 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001123/0.004844, allocations: 467.9 kB / 360 MB, free: 4.523 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.378e-05/0.004888, allocations: 152.8 kB / 360.1 MB, free: 4.367 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.086e-05/0.004949, allocations: 268 kB / 360.4 MB, free: 4.098 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.758e-05/0.005006, allocations: 144.9 kB / 360.5 MB, free: 3.949 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.718e-05/0.005064, allocations: 276 kB / 360.8 MB, free: 3.672 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.899e-05/0.005093, allocations: 148.9 kB / 360.9 MB, free: 3.52 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.665e-05/0.005149, allocations: 159.1 kB / 361.1 MB, free: 3.363 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005149, allocations: 3.938 kB / 361.1 MB, free: 3.359 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001533/0.005303, allocations: 12 kB / 361.1 MB, free: 3.348 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 7.871e-05/0.005381, allocations: 206.4 kB / 361.3 MB, free: 3.137 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 2.528e-05/0.005407, allocations: 0 / 361.3 MB, free: 3.137 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.005409, allocations: 4 kB / 361.3 MB, free: 3.133 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.81e-07/0.005409, allocations: 3.938 kB / 361.3 MB, free: 3.129 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003206/0.00573, allocations: 0.7285 MB / 362 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.001579/0.007309, allocations: 0.5324 MB / 362.6 MB, free: 1.828 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.808e-05/0.007337, allocations: 59.34 kB / 362.6 MB, free: 1.75 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.76e-05/0.007355, allocations: 3.984 kB / 362.6 MB, free: 1.746 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.173e-05/0.007417, allocations: 90.17 kB / 362.7 MB, free: 1.656 MB / 282.7 MB Notification: Performance of SimCode: time 5.51e-07/0.007417, allocations: 0 / 362.7 MB, free: 1.656 MB / 282.7 MB Notification: Performance of Templates: time 0.002122/0.00954, allocations: 1.125 MB / 363.9 MB, free: 0.5742 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 & ./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.7714054817333817]