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.001284/0.001284, allocations: 97.06 kB / 19.65 MB, free: 276 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.001551/0.001551, allocations: 173.3 kB / 23.02 MB, free: 1.547 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.024/1.024, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.07631/0.07631, allocations: 12.75 MB / 272.7 MB, free: 292 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.423e-06/1.423e-06, allocations: 3.938 kB / 346.7 MB, free: 1.188 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.005e-05/2.147e-05, allocations: 6.25 kB / 346.7 MB, free: 1.18 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Types.Examples.Units): time 0.001794/0.001815, allocations: 1.885 MB / 348.6 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001083/0.001923, allocations: 63.75 kB / 348.7 MB, free: 15.22 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.108e-05/0.001965, allocations: 0 / 348.7 MB, free: 15.22 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.131e-05/0.001996, allocations: 15.84 kB / 348.7 MB, free: 15.21 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001197/0.002116, allocations: 55.48 kB / 348.8 MB, free: 15.15 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.979e-06/0.002121, allocations: 0 / 348.8 MB, free: 15.15 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001041/0.002225, allocations: 103.1 kB / 348.9 MB, free: 15.05 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.93e-05/0.002274, allocations: 3.984 kB / 348.9 MB, free: 15.05 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.351e-05/0.002317, allocations: 39.91 kB / 348.9 MB, free: 15.01 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.417e-05/0.002382, allocations: 19.94 kB / 348.9 MB, free: 14.99 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.458e-06/0.002391, allocations: 0 / 348.9 MB, free: 14.99 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.741e-06/0.002397, allocations: 0 / 348.9 MB, free: 14.99 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.434e-05/0.002411, allocations: 7.938 kB / 348.9 MB, free: 14.98 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.209e-05/0.002443, allocations: 23.94 kB / 349 MB, free: 14.96 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 9.755e-05/0.002541, allocations: 55.72 kB / 349 MB, free: 14.9 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.002543, allocations: 4 kB / 349 MB, free: 14.9 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.002544, allocations: 0 / 349 MB, free: 14.9 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.00255, allocations: 0 / 349 MB, free: 14.9 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.0003139/0.002864, allocations: 416.1 kB / 349.4 MB, free: 14.45 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.00291, allocations: 11.98 kB / 349.4 MB, free: 14.44 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.967e-05/0.002969, allocations: 132 kB / 349.6 MB, free: 14.31 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.003101, allocations: 255.6 kB / 349.8 MB, free: 14.04 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.248e-05/0.003163, allocations: 242.8 kB / 350 MB, free: 13.8 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.786e-05/0.003221, allocations: 238.8 kB / 350.3 MB, free: 13.56 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.793e-05/0.003289, allocations: 153.4 kB / 350.4 MB, free: 13.41 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.43e-05/0.003323, allocations: 119.4 kB / 350.5 MB, free: 13.29 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.133e-05/0.003395, allocations: 246.8 kB / 350.8 MB, free: 13.05 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.345e-05/0.003458, allocations: 238.8 kB / 351 MB, free: 12.81 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.066e-05/0.003519, allocations: 246.3 kB / 351.3 MB, free: 12.57 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002736/0.003792, allocations: 0.5876 MB / 351.8 MB, free: 11.95 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.821e-05/0.003891, allocations: 265.4 kB / 352.1 MB, free: 11.68 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.585e-05/0.003926, allocations: 130.9 kB / 352.2 MB, free: 11.54 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/0.003953, allocations: 123.2 kB / 352.4 MB, free: 11.42 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.215e-05/0.003995, allocations: 156.6 kB / 352.5 MB, free: 11.26 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 7.11e-07/0.003996, allocations: 0 / 352.5 MB, free: 11.26 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 5.929e-05/0.004055, allocations: 41.58 kB / 352.5 MB, free: 11.21 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.903e-05/0.004114, allocations: 178.6 kB / 352.7 MB, free: 11.02 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.004265, allocations: 221.8 kB / 352.9 MB, free: 10.79 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.839e-06/0.004275, allocations: 25.7 kB / 353 MB, free: 10.76 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.362e-05/0.004329, allocations: 154.9 kB / 353.1 MB, free: 10.6 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.134e-06/0.004331, allocations: 0 / 353.1 MB, free: 10.6 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.682e-05/0.004348, allocations: 15.38 kB / 353.1 MB, free: 10.58 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.00447, allocations: 0.4923 MB / 353.6 MB, free: 10.07 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.039e-06/0.004475, allocations: 0 / 353.6 MB, free: 10.07 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.506e-06/0.004479, allocations: 0 / 353.6 MB, free: 10.07 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.21e-05/0.004511, allocations: 119.2 kB / 353.7 MB, free: 9.957 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-05/0.00454, allocations: 119.2 kB / 353.9 MB, free: 9.84 MB / 282.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.401e-05/0.004584, allocations: 45.64 kB / 353.9 MB, free: 9.789 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.607e-05/0.00462, allocations: 123.2 kB / 354 MB, free: 9.668 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.232e-05/0.004653, allocations: 127.1 kB / 354.1 MB, free: 9.543 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.288e-05/0.004715, allocations: 242.4 kB / 354.4 MB, free: 9.305 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.278e-05/0.004748, allocations: 123.2 kB / 354.5 MB, free: 9.184 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.246e-05/0.004801, allocations: 242.4 kB / 354.7 MB, free: 8.945 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.226e-05/0.004863, allocations: 127.1 kB / 354.9 MB, free: 8.82 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.712e-05/0.00489, allocations: 123.1 kB / 355 MB, free: 8.699 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.0001163/0.005006, allocations: 398.9 kB / 355.4 MB, free: 8.297 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.07e-05/0.005057, allocations: 160.8 kB / 355.5 MB, free: 8.133 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.285e-05/0.00511, allocations: 161.3 kB / 355.7 MB, free: 7.969 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.645e-05/0.005166, allocations: 272.1 kB / 356 MB, free: 7.695 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.925e-05/0.005226, allocations: 268.1 kB / 356.2 MB, free: 7.426 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.411e-05/0.00529, allocations: 272 kB / 356.5 MB, free: 7.152 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.005461, allocations: 0.5038 MB / 357 MB, free: 6.605 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.352e-05/0.005494, allocations: 148.8 kB / 357.1 MB, free: 6.453 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.977e-05/0.005524, allocations: 144.9 kB / 357.3 MB, free: 6.305 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.008e-05/0.005584, allocations: 272.1 kB / 357.5 MB, free: 6.031 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.35e-05/0.005648, allocations: 276 kB / 357.8 MB, free: 5.754 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.054e-05/0.005718, allocations: 268.4 kB / 358.1 MB, free: 5.484 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.842e-05/0.005777, allocations: 272 kB / 358.3 MB, free: 5.211 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001242/0.005901, allocations: 455.9 kB / 358.8 MB, free: 4.738 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.358e-05/0.005944, allocations: 160.8 kB / 358.9 MB, free: 4.574 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.688e-05/0.006011, allocations: 264.1 kB / 359.2 MB, free: 4.309 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.879e-05/0.00607, allocations: 156.8 kB / 359.3 MB, free: 4.148 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.491e-05/0.006135, allocations: 268.1 kB / 359.6 MB, free: 3.879 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.233e-05/0.006167, allocations: 148.8 kB / 359.8 MB, free: 3.727 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.098e-05/0.006238, allocations: 163.1 kB / 359.9 MB, free: 3.566 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006238, allocations: 0 / 359.9 MB, free: 3.566 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001543/0.006393, allocations: 15.94 kB / 359.9 MB, free: 3.551 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 8.541e-05/0.006478, allocations: 210.4 kB / 360.1 MB, free: 3.336 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 3.775e-05/0.006516, allocations: 4 kB / 360.1 MB, free: 3.332 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.006517, allocations: 0 / 360.1 MB, free: 3.332 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.72e-07/0.006518, allocations: 0 / 360.1 MB, free: 3.332 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003716/0.00689, allocations: 0.7218 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.001906/0.008796, allocations: 0.5284 MB / 361.4 MB, free: 2.039 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.043e-05/0.008837, allocations: 61.88 kB / 361.4 MB, free: 1.961 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.252e-05/0.008859, allocations: 8 kB / 361.5 MB, free: 1.953 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.594e-05/0.008875, allocations: 8.5 kB / 361.5 MB, free: 1.941 MB / 282.7 MB Notification: Performance of SimCode: time 7.31e-07/0.008876, allocations: 0 / 361.5 MB, free: 1.941 MB / 282.7 MB Notification: Performance of Templates: time 0.002713/0.01159, allocations: 1.123 MB / 362.6 MB, free: 0.8633 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.9135730117559433]