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.0008949/0.0008949, 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.001438/0.001438, 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.9827/0.9827, allocations: 177.1 MB / 203.8 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.05523/0.05523, allocations: 12.76 MB / 273 MB, free: 152 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.333e-06/1.333e-06, allocations: 0 / 293.9 MB, free: 11.98 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.274e-05/1.408e-05, allocations: 4.781 kB / 293.9 MB, free: 11.98 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Types.Examples.Units): time 0.005269/0.005283, allocations: 1.866 MB / 295.8 MB, free: 10.71 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 9.86e-05/0.005381, allocations: 66.94 kB / 295.9 MB, free: 10.66 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.503e-05/0.005416, allocations: 1.156 kB / 295.9 MB, free: 10.66 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.683e-05/0.005443, allocations: 13.73 kB / 295.9 MB, free: 10.66 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001171/0.00556, allocations: 52.91 kB / 295.9 MB, free: 10.62 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.398e-06/0.005565, allocations: 1.188 kB / 295.9 MB, free: 10.62 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.702e-05/0.005652, allocations: 104.6 kB / 296 MB, free: 10.55 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.173e-05/0.005694, allocations: 3.5 kB / 296 MB, free: 10.55 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.862e-05/0.005742, allocations: 39.38 kB / 296.1 MB, free: 10.55 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.218e-05/0.005814, allocations: 22.69 kB / 296.1 MB, free: 10.55 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.159e-05/0.005826, allocations: 5.266 kB / 296.1 MB, free: 10.54 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.667e-06/0.005835, allocations: 0 / 296.1 MB, free: 10.54 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.738e-06/0.005844, allocations: 5.156 kB / 296.1 MB, free: 10.54 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.808e-05/0.005872, allocations: 23.84 kB / 296.1 MB, free: 10.54 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 7.198e-05/0.005944, allocations: 45.23 kB / 296.2 MB, free: 10.52 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.005946, allocations: 5.219 kB / 296.2 MB, free: 10.52 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.005947, allocations: 0 / 296.2 MB, free: 10.52 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.086e-06/0.00595, allocations: 0 / 296.2 MB, free: 10.52 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.0001825/0.006133, allocations: 299.3 kB / 296.5 MB, free: 10.23 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.995e-05/0.006163, allocations: 12.77 kB / 296.5 MB, free: 10.23 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.618e-05/0.006189, allocations: 86.42 kB / 296.6 MB, free: 10.15 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.193e-05/0.006261, allocations: 213.4 kB / 296.8 MB, free: 9.926 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.006274, allocations: 152.5 kB / 296.9 MB, free: 9.777 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/0.006287, allocations: 152.8 kB / 297.1 MB, free: 9.629 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 2.757e-05/0.006315, allocations: 103 kB / 297.2 MB, free: 9.523 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.054e-06/0.006322, allocations: 75.47 kB / 297.3 MB, free: 9.449 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.006336, allocations: 157.2 kB / 297.4 MB, free: 9.297 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.006348, allocations: 150.9 kB / 297.6 MB, free: 9.148 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.194e-05/0.00636, allocations: 160.5 kB / 297.7 MB, free: 8.992 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001118/0.006471, allocations: 351.5 kB / 298.1 MB, free: 8.637 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.508e-05/0.006507, allocations: 172.1 kB / 298.2 MB, free: 8.461 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.388e-06/0.006516, allocations: 81.67 kB / 298.3 MB, free: 8.379 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.981e-06/0.006522, allocations: 75.28 kB / 298.4 MB, free: 8.305 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.595e-05/0.006538, allocations: 108 kB / 298.5 MB, free: 8.191 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.006539, allocations: 1.438 kB / 298.5 MB, free: 8.191 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 4.593e-05/0.006585, allocations: 34.58 kB / 298.5 MB, free: 8.156 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.591e-05/0.006611, allocations: 132.2 kB / 298.6 MB, free: 8.016 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.568e-05/0.006706, allocations: 170.8 kB / 298.8 MB, free: 7.883 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.886e-06/0.006709, allocations: 25.7 kB / 298.8 MB, free: 7.852 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.83e-05/0.006727, allocations: 92.97 kB / 298.9 MB, free: 7.766 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.61e-07/0.006728, allocations: 0 / 298.9 MB, free: 7.766 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.757e-05/0.006746, allocations: 17.12 kB / 298.9 MB, free: 7.746 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.054e-05/0.006776, allocations: 325.5 kB / 299.3 MB, free: 7.426 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.134e-06/0.006778, allocations: 0 / 299.3 MB, free: 7.426 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.226e-06/0.006782, allocations: 0 / 299.3 MB, free: 7.426 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.382e-06/0.006788, allocations: 80.44 kB / 299.3 MB, free: 7.348 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/0.006794, allocations: 76.41 kB / 299.4 MB, free: 7.273 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.1e-05/0.006835, allocations: 40.91 kB / 299.5 MB, free: 7.234 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.006851, allocations: 81 kB / 299.5 MB, free: 7.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.00686, allocations: 78.38 kB / 299.6 MB, free: 7.086 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.006879, allocations: 156.8 kB / 299.8 MB, free: 6.934 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.829e-06/0.006888, allocations: 84.81 kB / 299.9 MB, free: 6.852 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.006899, allocations: 152.8 kB / 300 MB, free: 6.703 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.658e-05/0.006955, allocations: 81.33 kB / 300.1 MB, free: 6.625 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-06/0.006962, allocations: 79.91 kB / 300.2 MB, free: 6.547 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 4.037e-05/0.007002, allocations: 263.9 kB / 300.4 MB, free: 6.281 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.874e-05/0.007031, allocations: 111.7 kB / 300.5 MB, free: 6.172 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.488e-05/0.007056, allocations: 116 kB / 300.6 MB, free: 6.059 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/0.007069, allocations: 185.5 kB / 300.8 MB, free: 5.871 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.367e-05/0.007083, allocations: 178.4 kB / 301 MB, free: 5.691 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.45e-05/0.007098, allocations: 178.8 kB / 301.2 MB, free: 5.512 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001104/0.007208, allocations: 344.4 kB / 301.5 MB, free: 5.164 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.238e-06/0.007217, allocations: 103 kB / 301.6 MB, free: 5.059 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.937e-06/0.007226, allocations: 106.9 kB / 301.7 MB, free: 4.949 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-05/0.00724, allocations: 178.4 kB / 301.9 MB, free: 4.77 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.007254, allocations: 178.2 kB / 302.1 MB, free: 4.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001033/0.008286, allocations: 186.2 kB / 302.2 MB, free: 4.402 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.591e-05/0.008302, allocations: 182.5 kB / 302.4 MB, free: 4.219 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.512e-05/0.008357, allocations: 311.3 kB / 302.7 MB, free: 3.902 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.743e-05/0.008385, allocations: 117.9 kB / 302.8 MB, free: 3.785 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.677e-05/0.008411, allocations: 182.2 kB / 303 MB, free: 3.602 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.584e-05/0.008467, allocations: 103.4 kB / 303.1 MB, free: 3.496 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.897e-05/0.008486, allocations: 186.7 kB / 303.3 MB, free: 3.309 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/0.008496, allocations: 107.1 kB / 303.4 MB, free: 3.199 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.504e-05/0.008541, allocations: 41.72 kB / 303.4 MB, free: 3.184 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008541, allocations: 0 / 303.4 MB, free: 3.184 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002202/0.008762, allocations: 11.19 kB / 303.5 MB, free: 3.184 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 6.618e-05/0.008828, allocations: 150.9 kB / 303.6 MB, free: 3.039 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 2.739e-05/0.008855, allocations: 0 / 303.6 MB, free: 3.039 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.008859, allocations: 6.594 kB / 303.6 MB, free: 3.035 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.022e-06/0.00886, allocations: 0 / 303.6 MB, free: 3.035 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002422/0.009102, allocations: 491.9 kB / 304.1 MB, free: 2.57 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.002121/0.01122, allocations: 0.5168 MB / 304.6 MB, free: 2.219 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.444e-05/0.01125, allocations: 58.67 kB / 304.7 MB, free: 2.148 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.644e-05/0.01127, allocations: 6.125 kB / 304.7 MB, free: 2.145 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.493e-05/0.01134, allocations: 66.91 kB / 304.7 MB, free: 2.098 MB / 266.7 MB Notification: Performance of SimCode: time 6.72e-07/0.01134, allocations: 0 / 304.7 MB, free: 2.098 MB / 266.7 MB Notification: Performance of Templates: time 0.002669/0.01401, allocations: 1.118 MB / 305.9 MB, free: 1.945 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.6988060288131237]