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.001444/0.001444, allocations: 92.22 kB / 19.65 MB, free: 280 kB / 13.93 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.001817/0.001817, allocations: 169 kB / 23.02 MB, free: 1.551 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 1.039/1.039, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.0549/0.0549, allocations: 12.76 MB / 272.7 MB, free: 272 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.853e-06/1.853e-06, allocations: 0 / 346.7 MB, free: 1.195 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.703e-05/2.888e-05, allocations: 4.984 kB / 346.7 MB, free: 1.191 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Types.Examples.Units): time 0.005324/0.005353, allocations: 1.882 MB / 348.6 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001158/0.005469, allocations: 67.73 kB / 348.7 MB, free: 15.23 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.728e-05/0.005516, allocations: 0 / 348.7 MB, free: 15.23 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.934e-05/0.005555, allocations: 15.84 kB / 348.7 MB, free: 15.22 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001299/0.005685, allocations: 55.55 kB / 348.8 MB, free: 15.16 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.779e-06/0.00569, allocations: 0 / 348.8 MB, free: 15.16 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001173/0.005807, allocations: 103.1 kB / 348.9 MB, free: 15.06 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.217e-05/0.005859, allocations: 4 kB / 348.9 MB, free: 15.06 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.03e-05/0.00591, allocations: 39.89 kB / 348.9 MB, free: 15.02 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.096e-05/0.005991, allocations: 23.94 kB / 348.9 MB, free: 15 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.006003, allocations: 3.938 kB / 348.9 MB, free: 14.99 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.043e-05/0.006014, allocations: 4 kB / 348.9 MB, free: 14.99 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.166e-05/0.006026, allocations: 3.938 kB / 348.9 MB, free: 14.98 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.475e-05/0.00606, allocations: 23.94 kB / 349 MB, free: 14.96 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 9.572e-05/0.006156, allocations: 47.73 kB / 349 MB, free: 14.91 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.006158, allocations: 0 / 349 MB, free: 14.91 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.00616, allocations: 0 / 349 MB, free: 14.91 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.006164, allocations: 0 / 349 MB, free: 14.91 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.0002973/0.006461, allocations: 420.1 kB / 349.4 MB, free: 14.46 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.006502, allocations: 11.98 kB / 349.4 MB, free: 14.45 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.113e-05/0.006564, allocations: 136 kB / 349.6 MB, free: 14.32 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.006692, allocations: 263.6 kB / 349.8 MB, free: 14.04 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.9e-05/0.006751, allocations: 242.8 kB / 350.1 MB, free: 13.8 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.581e-05/0.006807, allocations: 242.8 kB / 350.3 MB, free: 13.56 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.339e-05/0.00687, allocations: 153.5 kB / 350.4 MB, free: 13.4 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.062e-05/0.006901, allocations: 119.4 kB / 350.6 MB, free: 13.29 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.644e-05/0.006957, allocations: 242.7 kB / 350.8 MB, free: 13.05 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.569e-05/0.007013, allocations: 238.8 kB / 351 MB, free: 12.81 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.338e-05/0.007066, allocations: 242.3 kB / 351.3 MB, free: 12.57 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003267/0.01033, allocations: 0.5876 MB / 351.9 MB, free: 11.95 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.178e-05/0.01043, allocations: 269.4 kB / 352.1 MB, free: 11.68 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.538e-05/0.01046, allocations: 126.9 kB / 352.2 MB, free: 11.55 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.756e-05/0.01049, allocations: 127.1 kB / 352.4 MB, free: 11.42 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.465e-05/0.01053, allocations: 152.6 kB / 352.5 MB, free: 11.26 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 9.51e-07/0.01053, allocations: 0 / 352.5 MB, free: 11.26 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 6.452e-05/0.0106, allocations: 41.59 kB / 352.6 MB, free: 11.21 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.504e-05/0.01065, allocations: 170.6 kB / 352.7 MB, free: 11.04 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.01081, allocations: 225.8 kB / 352.9 MB, free: 10.8 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.288e-06/0.01082, allocations: 25.7 kB / 353 MB, free: 10.77 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.437e-05/0.01087, allocations: 150.9 kB / 353.1 MB, free: 10.61 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.793e-06/0.01088, allocations: 0 / 353.1 MB, free: 10.61 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.25e-05/0.0109, allocations: 15.38 kB / 353.1 MB, free: 10.59 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.01103, allocations: 0.4962 MB / 353.6 MB, free: 10.08 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.137e-06/0.01103, allocations: 4 kB / 353.6 MB, free: 10.08 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.755e-06/0.01103, allocations: 3.938 kB / 353.6 MB, free: 10.07 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.933e-05/0.01106, allocations: 119.2 kB / 353.7 MB, free: 9.957 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-05/0.01109, allocations: 123.2 kB / 353.9 MB, free: 9.836 MB / 282.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.093e-05/0.01114, allocations: 33.66 kB / 353.9 MB, free: 9.797 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.879e-05/0.01118, allocations: 131.2 kB / 354 MB, free: 9.668 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.251e-05/0.01121, allocations: 119.2 kB / 354.1 MB, free: 9.551 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.548e-05/0.01128, allocations: 242.3 kB / 354.4 MB, free: 9.312 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.635e-05/0.01131, allocations: 119.2 kB / 354.5 MB, free: 9.195 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-05/0.01138, allocations: 250.3 kB / 354.7 MB, free: 8.949 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.17e-05/0.01146, allocations: 127.1 kB / 354.9 MB, free: 8.824 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.464e-05/0.0115, allocations: 123.2 kB / 355 MB, free: 8.703 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 0.0001351/0.01163, allocations: 398.9 kB / 355.4 MB, free: 8.301 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.638e-05/0.0117, allocations: 160.8 kB / 355.5 MB, free: 8.137 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.265e-05/0.01176, allocations: 157.4 kB / 355.7 MB, free: 7.977 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.14e-05/0.01183, allocations: 272 kB / 356 MB, free: 7.703 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.835e-05/0.0119, allocations: 268.1 kB / 356.2 MB, free: 7.434 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-05/0.01197, allocations: 272 kB / 356.5 MB, free: 7.16 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002329/0.0122, allocations: 0.5077 MB / 357 MB, free: 6.609 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.329e-05/0.01224, allocations: 148.9 kB / 357.1 MB, free: 6.457 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.239e-05/0.01229, allocations: 152.8 kB / 357.3 MB, free: 6.301 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.187e-05/0.01236, allocations: 264.1 kB / 357.5 MB, free: 6.035 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.67e-05/0.01243, allocations: 272 kB / 357.8 MB, free: 5.762 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.56e-05/0.01251, allocations: 268.4 kB / 358.1 MB, free: 5.492 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-05/0.01258, allocations: 264.1 kB / 358.3 MB, free: 5.227 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001647/0.01274, allocations: 463.9 kB / 358.8 MB, free: 4.746 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.153e-05/0.01279, allocations: 160.8 kB / 358.9 MB, free: 4.582 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.233e-05/0.01288, allocations: 268.1 kB / 359.2 MB, free: 4.312 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.345e-05/0.01296, allocations: 148.8 kB / 359.3 MB, free: 4.16 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.902e-05/0.01304, allocations: 276 kB / 359.6 MB, free: 3.883 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.98e-05/0.01308, allocations: 148.9 kB / 359.8 MB, free: 3.73 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.003092/0.01617, allocations: 163.1 kB / 359.9 MB, free: 3.57 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01617, allocations: 0 / 359.9 MB, free: 3.57 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002518/0.01642, allocations: 15.94 kB / 359.9 MB, free: 3.555 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 0.0001031/0.01653, allocations: 206.4 kB / 360.1 MB, free: 3.344 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 4.952e-05/0.01658, allocations: 7.938 kB / 360.1 MB, free: 3.336 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.01658, allocations: 0 / 360.1 MB, free: 3.336 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.232e-06/0.01658, allocations: 0 / 360.1 MB, free: 3.336 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004874/0.01707, allocations: 0.7257 MB / 360.9 MB, free: 2.605 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.005528/0.0226, allocations: 0.5363 MB / 361.4 MB, free: 2.031 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.234e-05/0.02264, allocations: 59.34 kB / 361.5 MB, free: 1.953 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.953e-05/0.02267, allocations: 0 / 361.5 MB, free: 1.953 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.4e-05/0.02268, allocations: 8.5 kB / 361.5 MB, free: 1.941 MB / 282.7 MB Notification: Performance of SimCode: time 8.52e-07/0.02268, allocations: 4 kB / 361.5 MB, free: 1.938 MB / 282.7 MB Notification: Performance of Templates: time 0.003165/0.02585, allocations: 1.105 MB / 362.6 MB, free: 0.8711 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: 3.028240622021258]