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.001002/0.001002, allocations: 81.53 kB / 20.8 MB, free: 3.66 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.001056/0.001056, allocations: 169 kB / 24.22 MB, free: 244 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 1.063/1.063, allocations: 177.1 MB / 204.7 MB, free: 5.449 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.0625/0.0625, allocations: 12.76 MB / 273.9 MB, free: 120 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.723e-06/1.723e-06, allocations: 0 / 294.9 MB, free: 11.84 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.938e-05/3.11e-05, allocations: 4.25 kB / 294.9 MB, free: 11.84 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Types.Examples.Units): time 0.002931/0.002962, allocations: 1.911 MB / 296.8 MB, free: 10.55 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001641/0.003126, allocations: 63.36 kB / 296.9 MB, free: 10.5 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.915e-05/0.003165, allocations: 1.312 kB / 296.9 MB, free: 10.5 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.648e-05/0.003201, allocations: 16.78 kB / 296.9 MB, free: 10.49 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001277/0.003329, allocations: 49.94 kB / 297 MB, free: 10.46 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.689e-06/0.003334, allocations: 5.219 kB / 297 MB, free: 10.45 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.419e-05/0.003428, allocations: 103.3 kB / 297.1 MB, free: 10.39 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.031e-05/0.003488, allocations: 5.484 kB / 297.1 MB, free: 10.39 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.974e-05/0.003568, allocations: 42.25 kB / 297.1 MB, free: 10.38 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.663e-05/0.003665, allocations: 23.16 kB / 297.1 MB, free: 10.38 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.18e-05/0.003677, allocations: 0 / 297.1 MB, free: 10.38 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.145e-05/0.003688, allocations: 1.312 kB / 297.1 MB, free: 10.38 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.251e-05/0.003701, allocations: 3.938 kB / 297.2 MB, free: 10.38 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.81e-05/0.003729, allocations: 24.94 kB / 297.2 MB, free: 10.37 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 8.571e-05/0.003814, allocations: 53.42 kB / 297.2 MB, free: 10.35 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.003817, allocations: 0 / 297.2 MB, free: 10.35 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.003818, allocations: 0 / 297.2 MB, free: 10.35 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.003822, allocations: 0 / 297.2 MB, free: 10.35 MB / 266.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.0002164/0.004039, allocations: 291.6 kB / 297.5 MB, free: 10.07 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.004076, allocations: 13.2 kB / 297.5 MB, free: 10.07 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.477e-05/0.00411, allocations: 81.5 kB / 297.6 MB, free: 9.992 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.004213, allocations: 209.6 kB / 297.8 MB, free: 9.773 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/0.004233, allocations: 153 kB / 298 MB, free: 9.625 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.004255, allocations: 152.4 kB / 298.1 MB, free: 9.477 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.919e-05/0.004294, allocations: 111.5 kB / 298.2 MB, free: 9.363 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.004308, allocations: 83.39 kB / 298.3 MB, free: 9.281 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.066e-05/0.004328, allocations: 152.3 kB / 298.4 MB, free: 9.133 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.344e-05/0.004352, allocations: 151.5 kB / 298.6 MB, free: 8.984 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.857e-05/0.00437, allocations: 156.1 kB / 298.7 MB, free: 8.832 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001128/0.004483, allocations: 353.2 kB / 299.1 MB, free: 8.477 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.501e-05/0.004518, allocations: 166.7 kB / 299.3 MB, free: 8.305 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.335e-05/0.004531, allocations: 89.95 kB / 299.3 MB, free: 8.215 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.554e-06/0.004539, allocations: 75.28 kB / 299.4 MB, free: 8.141 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.00456, allocations: 113 kB / 299.5 MB, free: 8.023 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.004561, allocations: 0 / 299.5 MB, free: 8.023 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 4.79e-05/0.004609, allocations: 35.11 kB / 299.6 MB, free: 7.988 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.136e-05/0.00464, allocations: 128.8 kB / 299.7 MB, free: 7.852 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.004754, allocations: 162.5 kB / 299.8 MB, free: 7.727 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.208e-06/0.004758, allocations: 29.64 kB / 299.9 MB, free: 7.691 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.54e-05/0.004783, allocations: 97.12 kB / 300 MB, free: 7.602 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.142e-06/0.004784, allocations: 0 / 300 MB, free: 7.602 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.895e-05/0.004803, allocations: 12.67 kB / 300 MB, free: 7.586 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.963e-05/0.004843, allocations: 325.7 kB / 300.3 MB, free: 7.266 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.326e-06/0.004846, allocations: 3.938 kB / 300.3 MB, free: 7.262 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.486e-06/0.00485, allocations: 0 / 300.3 MB, free: 7.262 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.121e-05/0.004861, allocations: 76.38 kB / 300.4 MB, free: 7.188 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/0.004869, allocations: 79.8 kB / 300.5 MB, free: 7.109 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.927e-05/0.004908, allocations: 37.39 kB / 300.5 MB, free: 7.074 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.004928, allocations: 81.5 kB / 300.6 MB, free: 7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.004938, allocations: 80.94 kB / 300.7 MB, free: 6.922 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.004957, allocations: 151.8 kB / 300.8 MB, free: 6.773 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.025e-05/0.004967, allocations: 85.14 kB / 300.9 MB, free: 6.691 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.644e-05/0.004983, allocations: 157.3 kB / 301 MB, free: 6.539 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.02e-05/0.005024, allocations: 75.98 kB / 301.1 MB, free: 6.465 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-06/0.005031, allocations: 81.28 kB / 301.2 MB, free: 6.387 MB / 266.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 6.025e-05/0.005092, allocations: 271.3 kB / 301.5 MB, free: 6.113 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.813e-05/0.00512, allocations: 106.6 kB / 301.6 MB, free: 6.008 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.27e-05/0.005152, allocations: 116.6 kB / 301.7 MB, free: 5.895 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.629e-05/0.005169, allocations: 182.2 kB / 301.9 MB, free: 5.711 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.68e-05/0.005186, allocations: 179.1 kB / 302 MB, free: 5.531 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.657e-05/0.005202, allocations: 182 kB / 302.2 MB, free: 5.348 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001061/0.005308, allocations: 336.1 kB / 302.5 MB, free: 5.008 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.135e-05/0.00532, allocations: 102.7 kB / 302.6 MB, free: 4.902 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.377e-05/0.005333, allocations: 111.4 kB / 302.7 MB, free: 4.789 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.811e-05/0.005351, allocations: 178 kB / 302.9 MB, free: 4.609 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.982e-05/0.005371, allocations: 182.6 kB / 303.1 MB, free: 4.426 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.292e-05/0.005394, allocations: 182.5 kB / 303.3 MB, free: 4.242 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.042e-05/0.005425, allocations: 182.1 kB / 303.4 MB, free: 4.059 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.577e-05/0.00549, allocations: 314.8 kB / 303.8 MB, free: 3.738 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.531e-05/0.005516, allocations: 121.8 kB / 303.9 MB, free: 3.617 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.669e-05/0.005542, allocations: 178.8 kB / 304 MB, free: 3.438 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.645e-05/0.005579, allocations: 107 kB / 304.2 MB, free: 3.328 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.69e-05/0.005606, allocations: 178.1 kB / 304.3 MB, free: 3.148 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.00562, allocations: 107.8 kB / 304.4 MB, free: 3.039 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.888e-05/0.005689, allocations: 46.36 kB / 304.5 MB, free: 3.02 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005689, allocations: 0 / 304.5 MB, free: 3.02 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001298/0.005819, allocations: 10.34 kB / 304.5 MB, free: 3.02 MB / 266.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.521e-05/0.005894, allocations: 154.8 kB / 304.6 MB, free: 2.871 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 3.688e-05/0.005931, allocations: 1.156 kB / 304.6 MB, free: 2.871 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.005934, allocations: 1.031 kB / 304.6 MB, free: 2.871 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.633e-06/0.005936, allocations: 1.062 kB / 304.6 MB, free: 2.871 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002214/0.006157, allocations: 478.4 kB / 305.1 MB, free: 2.418 MB / 266.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.001649/0.007806, allocations: 0.5287 MB / 305.6 MB, free: 2.055 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.595e-05/0.007832, allocations: 66.08 kB / 305.7 MB, free: 1.98 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.025e-05/0.007862, allocations: 5.047 kB / 305.7 MB, free: 1.977 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.564e-05/0.007928, allocations: 66.86 kB / 305.8 MB, free: 1.93 MB / 266.7 MB Notification: Performance of SimCode: time 8.91e-07/0.007929, allocations: 0 / 305.8 MB, free: 1.93 MB / 266.7 MB Notification: Performance of Templates: time 0.003051/0.01098, allocations: 1.109 MB / 306.9 MB, free: 1.785 MB / 266.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.8056329945102334]