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.0008288/0.0008288, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.0009731/0.0009731, allocations: 169.4 kB / 24.06 MB, free: 456 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 0.9502/0.9502, allocations: 177.1 MB / 204.5 MB, free: 5.523 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.06434/0.06434, allocations: 12.76 MB / 273.8 MB, free: 136 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.824e-06/1.824e-06, allocations: 0 / 347.2 MB, free: 1.738 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.106e-05/2.288e-05, allocations: 4.703 kB / 347.2 MB, free: 1.734 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Types.Examples.Units): time 0.001885/0.001908, allocations: 1.881 MB / 349 MB, free: 15.84 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001042/0.002012, allocations: 63.75 kB / 349.1 MB, free: 15.78 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.228e-05/0.002044, allocations: 0 / 349.1 MB, free: 15.78 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.806e-05/0.002072, allocations: 15.84 kB / 349.1 MB, free: 15.77 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001028/0.002175, allocations: 51.55 kB / 349.2 MB, free: 15.71 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.749e-06/0.00218, allocations: 4 kB / 349.2 MB, free: 15.71 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 7.789e-05/0.002258, allocations: 99.06 kB / 349.3 MB, free: 15.61 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.374e-05/0.002301, allocations: 4 kB / 349.3 MB, free: 15.61 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.161e-05/0.002353, allocations: 39.89 kB / 349.3 MB, free: 15.57 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.962e-05/0.002423, allocations: 23.94 kB / 349.3 MB, free: 15.55 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.261e-05/0.002435, allocations: 0 / 349.3 MB, free: 15.55 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.075e-06/0.002443, allocations: 3.938 kB / 349.3 MB, free: 15.54 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.297e-06/0.002453, allocations: 0 / 349.3 MB, free: 15.54 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.343e-05/0.002476, allocations: 23.94 kB / 349.4 MB, free: 15.52 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 7.5e-05/0.002551, allocations: 51.8 kB / 349.4 MB, free: 15.47 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.002553, allocations: 0 / 349.4 MB, free: 15.47 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.002554, allocations: 3.938 kB / 349.4 MB, free: 15.46 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.002559, allocations: 3.984 kB / 349.4 MB, free: 15.46 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.0002387/0.002797, allocations: 416.1 kB / 349.8 MB, free: 15.02 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.002829, allocations: 11.98 kB / 349.8 MB, free: 15 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.166e-05/0.002871, allocations: 132 kB / 350 MB, free: 14.88 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.002973, allocations: 263.6 kB / 350.2 MB, free: 14.59 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.208e-05/0.003025, allocations: 238.8 kB / 350.5 MB, free: 14.36 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.043e-05/0.003076, allocations: 242.7 kB / 350.7 MB, free: 14.12 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.221e-05/0.003128, allocations: 149.5 kB / 350.8 MB, free: 13.96 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.751e-05/0.003155, allocations: 123.4 kB / 351 MB, free: 13.84 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.524e-05/0.003211, allocations: 238.8 kB / 351.2 MB, free: 13.61 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.395e-05/0.003265, allocations: 238.8 kB / 351.4 MB, free: 13.38 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.939e-05/0.003324, allocations: 246.2 kB / 351.7 MB, free: 13.13 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002233/0.003547, allocations: 0.5686 MB / 352.2 MB, free: 12.54 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.113e-05/0.003638, allocations: 265.4 kB / 352.5 MB, free: 12.27 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.417e-05/0.003673, allocations: 126.9 kB / 352.6 MB, free: 12.14 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.861e-05/0.003701, allocations: 119.2 kB / 352.7 MB, free: 12.02 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.594e-05/0.003747, allocations: 156.5 kB / 352.9 MB, free: 11.86 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.003748, allocations: 0 / 352.9 MB, free: 11.86 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 6.005e-05/0.003808, allocations: 49.64 kB / 352.9 MB, free: 11.8 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.842e-05/0.003867, allocations: 170.6 kB / 353.1 MB, free: 11.62 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.004002, allocations: 217.8 kB / 353.3 MB, free: 11.39 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.007e-06/0.004011, allocations: 25.7 kB / 353.3 MB, free: 11.36 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.506e-05/0.004066, allocations: 150.8 kB / 353.5 MB, free: 11.21 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.002e-06/0.004067, allocations: 0 / 353.5 MB, free: 11.21 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.98e-05/0.004087, allocations: 19.38 kB / 353.5 MB, free: 11.18 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.004205, allocations: 0.4961 MB / 354 MB, free: 10.67 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.388e-06/0.004209, allocations: 0 / 354 MB, free: 10.67 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.158e-06/0.004213, allocations: 0 / 354 MB, free: 10.67 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.266e-05/0.004246, allocations: 119.2 kB / 354.1 MB, free: 10.55 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.271e-05/0.004278, allocations: 127.1 kB / 354.2 MB, free: 10.43 MB / 282.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.203e-05/0.00433, allocations: 41.64 kB / 354.3 MB, free: 10.38 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.774e-05/0.004378, allocations: 126.2 kB / 354.4 MB, free: 10.26 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.41e-05/0.004412, allocations: 119.2 kB / 354.5 MB, free: 10.14 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.464e-05/0.004497, allocations: 254.3 kB / 354.8 MB, free: 9.895 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.667e-05/0.004534, allocations: 119.2 kB / 354.9 MB, free: 9.777 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.075e-05/0.004594, allocations: 242.3 kB / 355.1 MB, free: 9.539 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.022e-05/0.004655, allocations: 127.2 kB / 355.3 MB, free: 9.414 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.815e-05/0.004683, allocations: 123.1 kB / 355.4 MB, free: 9.293 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.0001189/0.004802, allocations: 394.9 kB / 355.8 MB, free: 8.895 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.47e-05/0.004856, allocations: 168.7 kB / 355.9 MB, free: 8.723 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.402e-05/0.00491, allocations: 157.4 kB / 356.1 MB, free: 8.562 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.005e-05/0.00497, allocations: 272 kB / 356.3 MB, free: 8.289 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.742e-05/0.005028, allocations: 268 kB / 356.6 MB, free: 8.02 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.137e-05/0.005089, allocations: 272.1 kB / 356.9 MB, free: 7.746 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001873/0.005277, allocations: 496.4 kB / 357.4 MB, free: 7.227 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.238e-05/0.005309, allocations: 144.9 kB / 357.5 MB, free: 7.078 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.678e-05/0.005346, allocations: 152.8 kB / 357.6 MB, free: 6.922 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.277e-05/0.005409, allocations: 268.1 kB / 357.9 MB, free: 6.652 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.514e-05/0.005474, allocations: 272.1 kB / 358.2 MB, free: 6.379 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.253e-05/0.005536, allocations: 276 kB / 358.4 MB, free: 6.102 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.279e-05/0.005599, allocations: 268.1 kB / 358.7 MB, free: 5.832 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001716/0.005771, allocations: 456.2 kB / 359.2 MB, free: 5.359 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.062e-05/0.005831, allocations: 160.8 kB / 359.3 MB, free: 5.195 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.781e-05/0.005909, allocations: 268.1 kB / 359.6 MB, free: 4.926 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.657e-05/0.005976, allocations: 152.9 kB / 359.7 MB, free: 4.77 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.423e-05/0.00605, allocations: 268 kB / 360 MB, free: 4.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.879e-05/0.006089, allocations: 152.9 kB / 360.1 MB, free: 4.344 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.791e-05/0.006157, allocations: 147.1 kB / 360.3 MB, free: 4.199 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.006157, allocations: 0 / 360.3 MB, free: 4.199 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001547/0.006311, allocations: 12 kB / 360.3 MB, free: 4.188 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.0001012/0.006412, allocations: 214.4 kB / 360.5 MB, free: 3.969 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 4.224e-05/0.006455, allocations: 7.938 kB / 360.5 MB, free: 3.961 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.006459, allocations: 0 / 360.5 MB, free: 3.961 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.82e-07/0.00646, allocations: 0 / 360.5 MB, free: 3.961 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004151/0.006875, allocations: 0.7217 MB / 361.2 MB, free: 3.234 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.001706/0.008581, allocations: 0.5536 MB / 361.8 MB, free: 2.637 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.377e-05/0.008635, allocations: 81.45 kB / 361.9 MB, free: 2.535 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.901e-05/0.008724, allocations: 94.11 kB / 362 MB, free: 2.441 MB / 282.7 MB Notification: Performance of SimCode: time 8.82e-07/0.008725, allocations: 0 / 362 MB, free: 2.441 MB / 282.7 MB Notification: Performance of Templates: time 0.001722/0.01045, allocations: 1.046 MB / 363 MB, free: 1.414 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 > Bodylight_Bodylight.Types.Examples.Units.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.473413829691708]