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.0009538/0.0009538, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.00104/0.00104, allocations: 181 kB / 23.36 MB, free: 1.133 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.9916/0.9916, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.09875/0.09875, allocations: 12.76 MB / 273 MB, free: 176 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.202e-06/1.202e-06, allocations: 0 / 294 MB, free: 11.9 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.189e-05/1.309e-05, allocations: 3.844 kB / 294 MB, free: 11.9 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Types.Examples.Units): time 0.002369/0.002382, allocations: 1.904 MB / 295.9 MB, free: 10.61 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001045/0.002486, allocations: 64.42 kB / 295.9 MB, free: 10.57 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.379e-05/0.00252, allocations: 4 kB / 296 MB, free: 10.56 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.545e-05/0.002546, allocations: 13.03 kB / 296 MB, free: 10.55 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.002648, allocations: 54.67 kB / 296 MB, free: 10.52 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.539e-06/0.002652, allocations: 0 / 296 MB, free: 10.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.892e-05/0.002731, allocations: 104.5 kB / 296.1 MB, free: 10.45 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.374e-05/0.002775, allocations: 4.797 kB / 296.1 MB, free: 10.45 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.612e-05/0.002821, allocations: 38.27 kB / 296.2 MB, free: 10.45 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.61e-05/0.002887, allocations: 28.45 kB / 296.2 MB, free: 10.44 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.795e-06/0.002895, allocations: 0 / 296.2 MB, free: 10.44 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.823e-06/0.002902, allocations: 0 / 296.2 MB, free: 10.44 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.347e-06/0.002911, allocations: 9.375 kB / 296.2 MB, free: 10.43 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.344e-05/0.002934, allocations: 24.66 kB / 296.2 MB, free: 10.43 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 7.289e-05/0.003007, allocations: 44.34 kB / 296.3 MB, free: 10.41 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.00301, allocations: 5.344 kB / 296.3 MB, free: 10.41 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.003011, allocations: 0 / 296.3 MB, free: 10.41 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.107e-06/0.003015, allocations: 0 / 296.3 MB, free: 10.41 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.0001635/0.003178, allocations: 291.5 kB / 296.6 MB, free: 10.13 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.777e-05/0.003206, allocations: 17.3 kB / 296.6 MB, free: 10.12 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.712e-05/0.003233, allocations: 81.98 kB / 296.7 MB, free: 10.05 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.044e-05/0.003304, allocations: 208.8 kB / 296.9 MB, free: 9.832 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.003319, allocations: 152.9 kB / 297 MB, free: 9.684 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.00333, allocations: 152.3 kB / 297.2 MB, free: 9.535 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.002e-05/0.00336, allocations: 107.8 kB / 297.3 MB, free: 9.426 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.003368, allocations: 75.47 kB / 297.3 MB, free: 9.352 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.00338, allocations: 150.9 kB / 297.5 MB, free: 9.203 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.003392, allocations: 156.2 kB / 297.6 MB, free: 9.051 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.263e-05/0.003405, allocations: 156.7 kB / 297.8 MB, free: 8.898 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.074e-05/0.003496, allocations: 360.7 kB / 298.1 MB, free: 8.535 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.625e-05/0.003532, allocations: 167.1 kB / 298.3 MB, free: 8.363 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.122e-05/0.003543, allocations: 81.45 kB / 298.4 MB, free: 8.281 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.087e-05/0.003554, allocations: 83.2 kB / 298.5 MB, free: 8.199 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.858e-05/0.003573, allocations: 110.8 kB / 298.6 MB, free: 8.086 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 6.42e-07/0.003573, allocations: 0 / 298.6 MB, free: 8.086 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 5.444e-05/0.003628, allocations: 35.11 kB / 298.6 MB, free: 8.051 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.328e-05/0.003651, allocations: 128.7 kB / 298.7 MB, free: 7.914 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.003756, allocations: 166.2 kB / 298.9 MB, free: 7.785 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.867e-06/0.00376, allocations: 25.7 kB / 298.9 MB, free: 7.754 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.012e-05/0.00378, allocations: 93.8 kB / 299 MB, free: 7.668 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.41e-07/0.003781, allocations: 7.938 kB / 299 MB, free: 7.66 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.499e-05/0.003796, allocations: 11.06 kB / 299 MB, free: 7.645 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.672e-05/0.003833, allocations: 326 kB / 299.3 MB, free: 7.324 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.445e-06/0.003835, allocations: 0 / 299.3 MB, free: 7.324 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.547e-06/0.003839, allocations: 5.344 kB / 299.4 MB, free: 7.32 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.005e-05/0.003849, allocations: 76.08 kB / 299.4 MB, free: 7.246 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/0.003856, allocations: 76.72 kB / 299.5 MB, free: 7.172 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.76e-05/0.003893, allocations: 31.62 kB / 299.5 MB, free: 7.141 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.003913, allocations: 81.94 kB / 299.6 MB, free: 7.066 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.003923, allocations: 81.69 kB / 299.7 MB, free: 6.988 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.64e-05/0.003949, allocations: 163.9 kB / 299.9 MB, free: 6.828 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.708e-06/0.003959, allocations: 85.16 kB / 299.9 MB, free: 6.746 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.509e-05/0.003974, allocations: 156.5 kB / 300.1 MB, free: 6.594 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.163e-05/0.004016, allocations: 81.06 kB / 300.2 MB, free: 6.516 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.004024, allocations: 76.5 kB / 300.2 MB, free: 6.441 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 5.369e-05/0.004078, allocations: 268.3 kB / 300.5 MB, free: 6.172 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.636e-05/0.004104, allocations: 106.7 kB / 300.6 MB, free: 6.066 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.19e-05/0.004136, allocations: 116.1 kB / 300.7 MB, free: 5.953 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.952e-05/0.004156, allocations: 182.2 kB / 300.9 MB, free: 5.77 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.847e-05/0.004174, allocations: 178.2 kB / 301.1 MB, free: 5.59 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.002e-05/0.004194, allocations: 186.2 kB / 301.3 MB, free: 5.402 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001042/0.004298, allocations: 336.8 kB / 301.6 MB, free: 5.062 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.304e-05/0.004312, allocations: 102.6 kB / 301.7 MB, free: 4.957 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.218e-05/0.004324, allocations: 106.9 kB / 301.8 MB, free: 4.848 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.721e-05/0.004341, allocations: 178 kB / 302 MB, free: 4.668 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/0.00436, allocations: 181.9 kB / 302.1 MB, free: 4.484 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.786e-05/0.004378, allocations: 183 kB / 302.3 MB, free: 4.301 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-05/0.004397, allocations: 178.1 kB / 302.5 MB, free: 4.121 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.231e-05/0.004469, allocations: 315.2 kB / 302.8 MB, free: 3.801 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.593e-05/0.004495, allocations: 121.8 kB / 302.9 MB, free: 3.68 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/0.004521, allocations: 179.1 kB / 303.1 MB, free: 3.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.856e-05/0.00456, allocations: 107.2 kB / 303.2 MB, free: 3.391 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.158e-05/0.004581, allocations: 182.3 kB / 303.4 MB, free: 3.207 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.004593, allocations: 106.7 kB / 303.5 MB, free: 3.098 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.996e-05/0.004643, allocations: 42.11 kB / 303.5 MB, free: 3.082 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.004643, allocations: 0 / 303.5 MB, free: 3.082 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001351/0.004778, allocations: 14.62 kB / 303.5 MB, free: 3.078 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 5.74e-05/0.004835, allocations: 147.6 kB / 303.7 MB, free: 2.938 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 2.88e-05/0.004864, allocations: 5.062 kB / 303.7 MB, free: 2.934 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.004867, allocations: 1.094 kB / 303.7 MB, free: 2.934 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.332e-06/0.004868, allocations: 5.188 kB / 303.7 MB, free: 2.93 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001935/0.005062, allocations: 481.2 kB / 304.2 MB, free: 2.473 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.001618/0.00668, allocations: 0.5309 MB / 304.7 MB, free: 2.109 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.557e-05/0.006706, allocations: 59.98 kB / 304.8 MB, free: 2.039 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.955e-05/0.006735, allocations: 1.219 kB / 304.8 MB, free: 2.039 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.268e-05/0.006798, allocations: 66.09 kB / 304.8 MB, free: 1.992 MB / 266.7 MB Notification: Performance of SimCode: time 8.12e-07/0.006799, allocations: 0 / 304.8 MB, free: 1.992 MB / 266.7 MB Notification: Performance of Templates: time 0.00249/0.009289, allocations: 1.117 MB / 305.9 MB, free: 1.844 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Bodylight_Bodylight.Types.Examples.Units.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8230526382103562]