Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.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.EquationOfTime,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",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.001149/0.001149, allocations: 102 kB / 16.27 MB, free: 5.93 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.001189/0.001189, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.188/1.188, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6642/0.6642, allocations: 122.9 MB / 413.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 67.91 kB / 0.4912 GB, free: 7.32 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.264/0.2651, allocations: 77.92 MB / 0.5673 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002027/0.2672, allocations: 1.431 MB / 0.5687 GB, free: 31.7 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005916/0.2678, allocations: 0.5037 MB / 0.5692 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.135e-05/0.2678, allocations: 0.6875 kB / 0.5692 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.361e-05/0.2679, allocations: 6.25 kB / 0.5692 GB, free: 31.35 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001748/0.268, allocations: 24.05 kB / 0.5692 GB, free: 31.34 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.868e-05/0.2681, allocations: 25.05 kB / 0.5692 GB, free: 31.32 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.111e-05/0.2682, allocations: 46.08 kB / 0.5693 GB, free: 31.3 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.643e-05/0.2683, allocations: 13.27 kB / 0.5693 GB, free: 31.3 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.071e-05/0.2684, allocations: 34.91 kB / 0.5693 GB, free: 31.28 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.143e-05/0.2684, allocations: 23.19 kB / 0.5693 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.586e-05/0.2685, allocations: 5.906 kB / 0.5694 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.284e-05/0.2685, allocations: 4.562 kB / 0.5694 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.055e-05/0.2685, allocations: 12.05 kB / 0.5694 GB, free: 31.26 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.478e-05/0.2685, allocations: 23.94 kB / 0.5694 GB, free: 31.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.538e-05/0.2686, allocations: 43.34 kB / 0.5694 GB, free: 31.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.2686, allocations: 1.031 kB / 0.5694 GB, free: 31.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2686, allocations: 0 / 0.5694 GB, free: 31.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.486e-06/0.2686, allocations: 1.312 kB / 0.5694 GB, free: 31.23 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000414/0.2691, allocations: 351.3 kB / 0.5698 GB, free: 30.87 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.99e-05/0.2691, allocations: 10.69 kB / 0.5698 GB, free: 30.87 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.502e-05/0.2691, allocations: 37.55 kB / 0.5698 GB, free: 30.83 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.458e-05/0.2691, allocations: 7.312 kB / 0.5698 GB, free: 30.82 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.471e-05/0.2692, allocations: 164.6 kB / 0.57 GB, free: 30.63 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.2692, allocations: 7.562 kB / 0.57 GB, free: 30.62 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.868e-06/0.2693, allocations: 2.625 kB / 0.57 GB, free: 30.62 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.767e-05/0.2694, allocations: 63.36 kB / 0.57 GB, free: 30.58 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.2694, allocations: 0 / 0.57 GB, free: 30.58 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.2694, allocations: 6.656 kB / 0.5701 GB, free: 30.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.2694, allocations: 0 / 0.5701 GB, free: 30.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.141e-05/0.2695, allocations: 21.58 kB / 0.5701 GB, free: 30.57 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002404/0.2697, allocations: 276.3 kB / 0.5703 GB, free: 30.29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001776/0.2699, allocations: 69.59 kB / 0.5704 GB, free: 30.24 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.857e-05/0.2699, allocations: 22.67 kB / 0.5704 GB, free: 30.23 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.279e-05/0.27, allocations: 1 kB / 0.5704 GB, free: 30.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000116/0.2701, allocations: 69.14 kB / 0.5705 GB, free: 30.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.2701, allocations: 0 / 0.5705 GB, free: 30.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0001902/0.2703, allocations: 102.9 kB / 0.5706 GB, free: 30.11 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.127e-05/0.2703, allocations: 52.56 kB / 0.5706 GB, free: 30.05 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.154e-05/0.2704, allocations: 103.2 kB / 0.5707 GB, free: 29.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.536e-06/0.2704, allocations: 30.27 kB / 0.5708 GB, free: 29.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.681e-05/0.2704, allocations: 83.3 kB / 0.5708 GB, free: 29.83 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.015e-05/0.2704, allocations: 19.72 kB / 0.5709 GB, free: 29.82 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.217e-05/0.2704, allocations: 22.98 kB / 0.5709 GB, free: 29.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.356e-05/0.2705, allocations: 318.8 kB / 0.5712 GB, free: 29.48 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.292e-05/0.2705, allocations: 13.33 kB / 0.5712 GB, free: 29.48 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.732e-05/0.2706, allocations: 14.97 kB / 0.5712 GB, free: 29.47 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.06e-05/0.2706, allocations: 39.55 kB / 0.5713 GB, free: 29.45 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.2706, allocations: 1.125 kB / 0.5713 GB, free: 29.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.858e-05/0.2707, allocations: 79.78 kB / 0.5713 GB, free: 29.39 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.728e-06/0.2707, allocations: 6.156 kB / 0.5713 GB, free: 29.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.2708, allocations: 1.953 kB / 0.5713 GB, free: 29.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.888e-06/0.2708, allocations: 1.75 kB / 0.5713 GB, free: 29.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.611e-05/0.2708, allocations: 10.28 kB / 0.5714 GB, free: 29.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.2708, allocations: 0.6562 kB / 0.5714 GB, free: 29.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.182e-05/0.2709, allocations: 8.438 kB / 0.5714 GB, free: 29.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.2709, allocations: 2.484 kB / 0.5714 GB, free: 29.39 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 (eqnTim.tNext,$PRE.eqnTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.613e-05/0.271, allocations: 119.3 kB / 0.5715 GB, free: 29.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.2e-05/0.271, allocations: 2.094 kB / 0.5715 GB, free: 29.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001599/0.2712, allocations: 112.7 kB / 0.5716 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.2712, allocations: 6 kB / 0.5716 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.2712, allocations: 0.8438 kB / 0.5716 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.2712, allocations: 0.6562 kB / 0.5716 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.894e-05/0.2713, allocations: 181.6 kB / 0.5718 GB, free: 28.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2713, allocations: 1.344 kB / 0.5718 GB, free: 28.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.612e-05/0.2713, allocations: 14.34 kB / 0.5718 GB, free: 28.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.2713, allocations: 3.547 kB / 0.5718 GB, free: 28.99 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.2714, allocations: 10.53 kB / 0.5718 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2714, allocations: 0 / 0.5718 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2714, allocations: 1.125 kB / 0.5718 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.2715, allocations: 120 kB / 0.5719 GB, free: 28.89 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.767e-05/0.2715, allocations: 83.84 kB / 0.572 GB, free: 28.79 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/0.2716, allocations: 1.75 kB / 0.572 GB, free: 28.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.3e-05/0.2716, allocations: 5.109 kB / 0.572 GB, free: 28.79 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.877e-05/0.2717, allocations: 10.66 kB / 0.572 GB, free: 28.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.2717, allocations: 3.516 kB / 0.572 GB, free: 28.79 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.306e-05/0.2717, allocations: 85 kB / 0.5721 GB, free: 28.71 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2717, allocations: 1.531 kB / 0.5721 GB, free: 28.71 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001767/0.2719, allocations: 11.44 kB / 0.5721 GB, free: 28.71 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,eqnTim.tNext) * Number of discrete states: 1 (eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * 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.000269/0.2722, allocations: 0.6577 MB / 0.5727 GB, free: 28.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001153/0.2723, allocations: 50.5 kB / 0.5728 GB, free: 28.07 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.2723, allocations: 4.062 kB / 0.5728 GB, free: 28.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.406e-05/0.2724, allocations: 33.34 kB / 0.5728 GB, free: 28.06 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001296/0.2725, allocations: 7.281 kB / 0.5728 GB, free: 28.06 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007401/0.2732, allocations: 1.221 MB / 0.574 GB, free: 26.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.071e-05/0.2733, allocations: 0.6865 MB / 0.5747 GB, free: 26.21 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.929e-05/0.2734, allocations: 6.844 kB / 0.5747 GB, free: 26.21 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.864e-05/0.2734, allocations: 21.27 kB / 0.5747 GB, free: 26.2 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2734, allocations: 1.312 kB / 0.5747 GB, free: 26.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1515/0.4249, allocations: 1.627 MB / 0.5763 GB, free: 25.89 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.354/9.779, allocations: 22.84 kB / 0.5763 GB, free: 25.88 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1)