Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 102.3 kB / 15.98 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 195.1 kB / 16.91 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.199/1.199, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6376/0.6376, allocations: 115.3 MB / 406.1 MB, free: 6.355 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 71.88 kB / 493.2 MB, free: 0.6211 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2614/0.2625, allocations: 76.16 MB / 0.556 GB, free: 36.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002826/0.2654, allocations: 1.525 MB / 0.5575 GB, free: 35.39 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007516/0.2662, allocations: 471 kB / 0.558 GB, free: 35.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.962e-05/0.2662, allocations: 0 / 0.558 GB, free: 35.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.035e-05/0.2663, allocations: 0.9844 kB / 0.558 GB, free: 35.07 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002292/0.2665, allocations: 27.17 kB / 0.558 GB, free: 35.06 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.563e-05/0.2666, allocations: 13.61 kB / 0.558 GB, free: 35.05 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.529e-05/0.2667, allocations: 47.38 kB / 0.558 GB, free: 35.03 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.025e-05/0.2668, allocations: 14.56 kB / 0.5581 GB, free: 35.02 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.2669, allocations: 26.45 kB / 0.5581 GB, free: 35.01 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.213e-05/0.267, allocations: 25.86 kB / 0.5581 GB, free: 35 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.9e-05/0.267, allocations: 3.5 kB / 0.5581 GB, free: 35 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.523e-05/0.267, allocations: 3.938 kB / 0.5581 GB, free: 35 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.303e-05/0.2671, allocations: 12.09 kB / 0.5581 GB, free: 34.99 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.571e-05/0.2671, allocations: 25.11 kB / 0.5582 GB, free: 34.98 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.386e-05/0.2672, allocations: 39.42 kB / 0.5582 GB, free: 34.96 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2672, allocations: 0 / 0.5582 GB, free: 34.96 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2673, allocations: 1.75 kB / 0.5582 GB, free: 34.96 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.122e-05/0.2673, allocations: 1.156 kB / 0.5582 GB, free: 34.96 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004893/0.2678, allocations: 350.1 kB / 0.5585 GB, free: 34.61 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.2678, allocations: 9.156 kB / 0.5585 GB, free: 34.61 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.981e-05/0.2679, allocations: 36.28 kB / 0.5586 GB, free: 34.56 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.279e-05/0.2679, allocations: 8.312 kB / 0.5586 GB, free: 34.56 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.234e-05/0.268, allocations: 169.4 kB / 0.5587 GB, free: 34.36 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.268, allocations: 7 kB / 0.5587 GB, free: 34.36 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.2681, allocations: 3.031 kB / 0.5588 GB, free: 34.36 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.2682, allocations: 55.59 kB / 0.5588 GB, free: 34.31 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.2682, allocations: 0 / 0.5588 GB, free: 34.31 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.2682, allocations: 7.5 kB / 0.5588 GB, free: 34.31 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.2682, allocations: 5 kB / 0.5588 GB, free: 34.3 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.598e-05/0.2683, allocations: 20.77 kB / 0.5588 GB, free: 34.3 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003109/0.2686, allocations: 275.5 kB / 0.5591 GB, free: 34.01 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.2688, allocations: 47.95 kB / 0.5591 GB, free: 33.97 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.64e-05/0.2688, allocations: 22.06 kB / 0.5592 GB, free: 33.96 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.646e-06/0.2689, allocations: 2.5 kB / 0.5592 GB, free: 33.96 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001537/0.269, allocations: 64.33 kB / 0.5592 GB, free: 33.91 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.863e-06/0.269, allocations: 0 / 0.5592 GB, free: 33.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.000254/0.2693, allocations: 82.31 kB / 0.5593 GB, free: 33.86 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.055e-05/0.2693, allocations: 51.41 kB / 0.5594 GB, free: 33.79 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.705e-05/0.2694, allocations: 117.9 kB / 0.5595 GB, free: 33.68 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.2695, allocations: 27.27 kB / 0.5595 GB, free: 33.65 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.514e-05/0.2695, allocations: 91.28 kB / 0.5596 GB, free: 33.56 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.315e-05/0.2695, allocations: 10.98 kB / 0.5596 GB, free: 33.55 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.462e-05/0.2696, allocations: 20.08 kB / 0.5596 GB, free: 33.54 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.745e-05/0.2696, allocations: 323.6 kB / 0.5599 GB, free: 33.21 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.412e-05/0.2697, allocations: 11.5 kB / 0.5599 GB, free: 33.21 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.959e-05/0.2697, allocations: 12.94 kB / 0.5599 GB, free: 33.21 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.819e-05/0.2698, allocations: 28.83 kB / 0.56 GB, free: 33.19 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2698, allocations: 0 / 0.56 GB, free: 33.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001436/0.27, allocations: 75.08 kB / 0.56 GB, free: 33.14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.27, allocations: 6.266 kB / 0.56 GB, free: 33.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.27, allocations: 0 / 0.56 GB, free: 33.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.27, allocations: 2 kB / 0.5601 GB, free: 33.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.53e-05/0.2701, allocations: 7.406 kB / 0.5601 GB, free: 33.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.2701, allocations: 2.625 kB / 0.5601 GB, free: 33.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.559e-05/0.2702, allocations: 8.406 kB / 0.5601 GB, free: 33.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.2703, allocations: 1.594 kB / 0.5601 GB, free: 33.13 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (locTim.tNext,$PRE.locTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.756e-05/0.2703, allocations: 114 kB / 0.5602 GB, free: 33.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.909e-05/0.2704, allocations: 8.281 kB / 0.5602 GB, free: 33.01 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.164e-05/0.2704, allocations: 9.875 kB / 0.5602 GB, free: 33 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.2704, allocations: 1.875 kB / 0.5602 GB, free: 33 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2704, allocations: 2.375 kB / 0.5602 GB, free: 33 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.2704, allocations: 0 / 0.5602 GB, free: 33 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001006/0.2705, allocations: 173.5 kB / 0.5604 GB, free: 32.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.2705, allocations: 0 / 0.5604 GB, free: 32.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.952e-05/0.2706, allocations: 9.609 kB / 0.5604 GB, free: 32.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.2706, allocations: 5.188 kB / 0.5604 GB, free: 32.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.2706, allocations: 0.7031 kB / 0.5604 GB, free: 32.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.2706, allocations: 4.797 kB / 0.5604 GB, free: 32.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2706, allocations: 0 / 0.5604 GB, free: 32.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001592/0.2708, allocations: 99.78 kB / 0.5605 GB, free: 32.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.297e-05/0.2708, allocations: 83.81 kB / 0.5606 GB, free: 32.61 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.299e-05/0.2709, allocations: 2.531 kB / 0.5606 GB, free: 32.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.91e-05/0.271, allocations: 6.734 kB / 0.5606 GB, free: 32.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.445e-05/0.271, allocations: 8.578 kB / 0.5606 GB, free: 32.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.2711, allocations: 3.094 kB / 0.5606 GB, free: 32.61 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.255e-05/0.2711, allocations: 89.36 kB / 0.5607 GB, free: 32.53 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.2711, allocations: 0 / 0.5607 GB, free: 32.53 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003156/0.2714, allocations: 8.781 kB / 0.5607 GB, free: 32.53 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,locTim.tNext) * Number of discrete states: 1 (locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0003135/0.2718, allocations: 0.6383 MB / 0.5613 GB, free: 31.92 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001404/0.2719, allocations: 37.23 kB / 0.5613 GB, free: 31.91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.2719, allocations: 0.9688 kB / 0.5613 GB, free: 31.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.07e-05/0.272, allocations: 20.83 kB / 0.5614 GB, free: 31.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002154/0.2722, allocations: 10.92 kB / 0.5614 GB, free: 31.89 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.2733, allocations: 1.234 MB / 0.5626 GB, free: 30.73 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.013e-05/0.2734, allocations: 0.6811 MB / 0.5632 GB, free: 30.04 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.465e-05/0.2735, allocations: 5.125 kB / 0.5632 GB, free: 30.04 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.502e-05/0.2735, allocations: 14.8 kB / 0.5633 GB, free: 30.03 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2735, allocations: 1.156 kB / 0.5633 GB, free: 30.03 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9885/1.262, allocations: 1.396 MB / 0.5646 GB, free: 29.86 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001516/1.262, allocations: 229.4 kB / 0.5648 GB, free: 29.61 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.183/3.445, allocations: 0.5 kB / 0.5648 GB, free: 29.61 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1)