Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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.SolarTime,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",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.001211/0.001211, allocations: 102 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.0009404/0.0009404, 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.183/1.183, allocations: 222.9 MB / 240.6 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6164/0.6164, allocations: 115.3 MB / 406.1 MB, free: 6.355 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 75.89 kB / 493.2 MB, free: 0.5898 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.2559, allocations: 76.17 MB / 0.556 GB, free: 36.29 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002277/0.2582, allocations: 1.651 MB / 0.5576 GB, free: 35.16 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006671/0.2589, allocations: 0.531 MB / 0.5582 GB, free: 34.79 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.712e-05/0.259, allocations: 3.031 kB / 0.5582 GB, free: 34.79 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.38e-05/0.259, allocations: 7.875 kB / 0.5582 GB, free: 34.79 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000219/0.2593, allocations: 32.8 kB / 0.5582 GB, free: 34.77 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001028/0.2594, allocations: 42.14 kB / 0.5582 GB, free: 34.74 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.533e-05/0.2595, allocations: 102.3 kB / 0.5583 GB, free: 34.7 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.543e-05/0.2596, allocations: 20.58 kB / 0.5584 GB, free: 34.69 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.661e-05/0.2597, allocations: 50.16 kB / 0.5584 GB, free: 34.66 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.191e-05/0.2598, allocations: 50.8 kB / 0.5585 GB, free: 34.64 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.192e-05/0.2598, allocations: 7.156 kB / 0.5585 GB, free: 34.64 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.713e-05/0.2598, allocations: 11.19 kB / 0.5585 GB, free: 34.64 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.778e-05/0.2599, allocations: 27.88 kB / 0.5585 GB, free: 34.62 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.061e-05/0.2599, allocations: 42.52 kB / 0.5585 GB, free: 34.6 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001061/0.26, allocations: 91.84 kB / 0.5586 GB, free: 34.57 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.26, allocations: 0.6875 kB / 0.5586 GB, free: 34.57 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2601, allocations: 0 / 0.5586 GB, free: 34.57 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.2601, allocations: 0.5625 kB / 0.5586 GB, free: 34.57 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005597/0.2606, allocations: 402.1 kB / 0.559 GB, free: 34.19 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.2607, allocations: 9.125 kB / 0.559 GB, free: 34.19 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.828e-05/0.2607, allocations: 44.77 kB / 0.5591 GB, free: 34.14 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.216e-05/0.2607, allocations: 8.719 kB / 0.5591 GB, free: 34.14 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.405e-05/0.2608, allocations: 190.4 kB / 0.5592 GB, free: 33.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.2608, allocations: 3.344 kB / 0.5593 GB, free: 33.93 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.716e-05/0.2609, allocations: 8.094 kB / 0.5593 GB, free: 33.92 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/0.261, allocations: 86.38 kB / 0.5593 GB, free: 33.87 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.261, allocations: 0 / 0.5593 GB, free: 33.87 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.261, allocations: 5.812 kB / 0.5593 GB, free: 33.87 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.2611, allocations: 1.344 kB / 0.5593 GB, free: 33.87 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.689e-05/0.2612, allocations: 56.27 kB / 0.5594 GB, free: 33.85 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003778/0.2615, allocations: 345.1 kB / 0.5597 GB, free: 33.54 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002414/0.2618, allocations: 108.1 kB / 0.5598 GB, free: 33.48 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.819e-05/0.2619, allocations: 47.47 kB / 0.5599 GB, free: 33.46 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/0.2619, allocations: 2.547 kB / 0.5599 GB, free: 33.46 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001714/0.2621, allocations: 92.22 kB / 0.56 GB, free: 33.4 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 1.984e-06/0.2621, allocations: 1.094 kB / 0.56 GB, free: 33.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002684/0.2624, allocations: 152.9 kB / 0.5601 GB, free: 33.32 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.917e-05/0.2624, allocations: 53.84 kB / 0.5602 GB, free: 33.26 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.69e-05/0.2625, allocations: 132 kB / 0.5603 GB, free: 33.14 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.2625, allocations: 29.7 kB / 0.5603 GB, free: 33.11 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.556e-05/0.2625, allocations: 94.22 kB / 0.5604 GB, free: 33.02 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.735e-05/0.2625, allocations: 33.11 kB / 0.5604 GB, free: 32.99 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.037e-05/0.2626, allocations: 28.19 kB / 0.5605 GB, free: 32.97 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.409e-05/0.2626, allocations: 319.9 kB / 0.5608 GB, free: 32.65 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.196e-05/0.2627, allocations: 26.2 kB / 0.5608 GB, free: 32.64 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.587e-05/0.2627, allocations: 31.92 kB / 0.5608 GB, free: 32.63 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.504e-05/0.2628, allocations: 68.34 kB / 0.5609 GB, free: 32.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.2628, allocations: 0.75 kB / 0.5609 GB, free: 32.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001491/0.263, allocations: 110.7 kB / 0.561 GB, free: 32.54 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.263, allocations: 7.688 kB / 0.561 GB, free: 32.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.263, allocations: 0 / 0.561 GB, free: 32.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.263, allocations: 1.156 kB / 0.561 GB, free: 32.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.2631, allocations: 20.39 kB / 0.561 GB, free: 32.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.2631, allocations: 0 / 0.561 GB, free: 32.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.2633, allocations: 15.73 kB / 0.561 GB, free: 32.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.2633, allocations: 7.531 kB / 0.5611 GB, free: 32.53 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: 6 (eqnTim.tNext,$PRE.eqnTim.tNext,locTim.tNext,$PRE.locTim.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.69e-05/0.2633, allocations: 121.2 kB / 0.5612 GB, free: 32.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.815e-05/0.2634, allocations: 7.781 kB / 0.5612 GB, free: 32.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002234/0.2636, allocations: 144.1 kB / 0.5613 GB, free: 32.33 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.2636, allocations: 4.297 kB / 0.5613 GB, free: 32.33 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.2636, allocations: 0 / 0.5613 GB, free: 32.33 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.2636, allocations: 10.94 kB / 0.5613 GB, free: 32.32 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001169/0.2637, allocations: 213.7 kB / 0.5615 GB, free: 32.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.2637, allocations: 0 / 0.5615 GB, free: 32.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.491e-05/0.2638, allocations: 18.75 kB / 0.5616 GB, free: 32.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.2638, allocations: 1.812 kB / 0.5616 GB, free: 32.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.2639, allocations: 11.91 kB / 0.5616 GB, free: 32.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.2639, allocations: 1.062 kB / 0.5616 GB, free: 32.09 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.2639, allocations: 4.734 kB / 0.5616 GB, free: 32.09 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001923/0.2641, allocations: 164.1 kB / 0.5617 GB, free: 31.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.319e-05/0.2641, allocations: 89.81 kB / 0.5618 GB, free: 31.88 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.43e-05/0.2641, allocations: 6.312 kB / 0.5618 GB, free: 31.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.2642, allocations: 7.094 kB / 0.5618 GB, free: 31.88 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.501e-05/0.2643, allocations: 18.23 kB / 0.5618 GB, free: 31.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.2643, allocations: 10.02 kB / 0.5619 GB, free: 31.87 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.938e-05/0.2644, allocations: 95.12 kB / 0.5619 GB, free: 31.79 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2644, allocations: 0.5938 kB / 0.5619 GB, free: 31.79 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001969/0.2646, allocations: 23.88 kB / 0.562 GB, free: 31.79 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: 4 ($whenCondition2,$whenCondition1,locTim.tNext,eqnTim.tNext) * Number of discrete states: 2 (locTim.tNext,eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003331/0.2649, allocations: 0.6993 MB / 0.5626 GB, free: 31.16 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001746/0.2651, allocations: 90.5 kB / 0.5627 GB, free: 31.13 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2651, allocations: 1.156 kB / 0.5627 GB, free: 31.13 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.752e-05/0.2652, allocations: 54.55 kB / 0.5628 GB, free: 31.11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001487/0.2653, allocations: 11.11 kB / 0.5628 GB, free: 31.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.2664, allocations: 1.487 MB / 0.5643 GB, free: 29.82 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.938e-05/0.2665, allocations: 0.6989 MB / 0.5649 GB, free: 29.13 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.624e-05/0.2666, allocations: 9.438 kB / 0.5649 GB, free: 29.13 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.042e-05/0.2666, allocations: 30.33 kB / 0.565 GB, free: 29.11 MB / 446.1 MB Notification: Performance of SimCode: time 6.21e-07/0.2666, allocations: 1.438 kB / 0.565 GB, free: 29.11 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7879/1.055, allocations: 2.149 MB / 0.5671 GB, free: 28.92 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001464/1.055, allocations: 225.8 kB / 0.5673 GB, free: 28.67 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.193/3.248, allocations: 0.5312 kB / 0.5673 GB, free: 28.67 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1)