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.0009091/0.000909, allocations: 92.39 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 170.2 kB / 16.58 MB, free: 6.047 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.314/1.314, allocations: 223.3 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7317/0.7317, allocations: 113.7 MB / 405.4 MB, free: 4.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002876/0.0002877, allocations: 10.16 kB / 493.1 MB, free: 8.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1497, allocations: 77.12 MB / 0.5569 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.001863/0.1516, allocations: 1.29 MB / 0.5582 GB, free: 10.34 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008842/0.1525, allocations: 0.499 MB / 0.5586 GB, free: 9.836 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.988e-05/0.1526, allocations: 0 / 0.5586 GB, free: 9.836 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.626e-05/0.1527, allocations: 3.984 kB / 0.5586 GB, free: 9.832 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002794/0.1529, allocations: 39.77 kB / 0.5587 GB, free: 9.793 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001293/0.1531, allocations: 27.97 kB / 0.5587 GB, free: 9.766 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001431/0.1532, allocations: 99.56 kB / 0.5588 GB, free: 9.668 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.1533, allocations: 19.98 kB / 0.5588 GB, free: 9.648 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001179/0.1535, allocations: 39.91 kB / 0.5589 GB, free: 9.609 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.1536, allocations: 43.77 kB / 0.5589 GB, free: 9.566 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.1536, allocations: 4 kB / 0.5589 GB, free: 9.562 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.733e-05/0.1536, allocations: 4 kB / 0.5589 GB, free: 9.559 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.884e-05/0.1537, allocations: 19.92 kB / 0.5589 GB, free: 9.539 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.135e-05/0.1537, allocations: 41.62 kB / 0.559 GB, free: 9.492 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 9.674e-05/0.1538, allocations: 64.09 kB / 0.559 GB, free: 9.43 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.1538, allocations: 4 kB / 0.559 GB, free: 9.426 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1538, allocations: 0 / 0.559 GB, free: 9.426 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.1539, allocations: 0 / 0.559 GB, free: 9.426 MB / 430.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.0006699/0.1545, allocations: 387.1 kB / 0.5594 GB, free: 9 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.1546, allocations: 16.03 kB / 0.5594 GB, free: 8.984 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.797e-05/0.1546, allocations: 34.55 kB / 0.5595 GB, free: 8.941 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.12e-05/0.1547, allocations: 11.91 kB / 0.5595 GB, free: 8.93 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.1548, allocations: 182.9 kB / 0.5596 GB, free: 8.711 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.1549, allocations: 8 kB / 0.5597 GB, free: 8.703 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.1549, allocations: 4 kB / 0.5597 GB, free: 8.699 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.1551, allocations: 87.28 kB / 0.5597 GB, free: 8.609 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.1551, allocations: 0 / 0.5597 GB, free: 8.609 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.1551, allocations: 4 kB / 0.5597 GB, free: 8.605 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1551, allocations: 0 / 0.5597 GB, free: 8.605 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001285/0.1552, allocations: 55.91 kB / 0.5598 GB, free: 8.551 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005072/0.1558, allocations: 348.5 kB / 0.5601 GB, free: 8.16 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002851/0.1561, allocations: 110.7 kB / 0.5602 GB, free: 8.043 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.904e-05/0.1561, allocations: 48.77 kB / 0.5603 GB, free: 7.992 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.1562, allocations: 0 / 0.5603 GB, free: 7.992 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002092/0.1564, allocations: 99.34 kB / 0.5604 GB, free: 7.883 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.493e-06/0.1564, allocations: 0 / 0.5604 GB, free: 7.883 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003034/0.1567, allocations: 145.4 kB / 0.5605 GB, free: 7.734 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/0.1568, allocations: 55.39 kB / 0.5606 GB, free: 7.668 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.1569, allocations: 128.6 kB / 0.5607 GB, free: 7.535 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.1569, allocations: 25.7 kB / 0.5607 GB, free: 7.504 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.393e-05/0.157, allocations: 96.44 kB / 0.5608 GB, free: 7.402 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.903e-05/0.157, allocations: 35.55 kB / 0.5608 GB, free: 7.367 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.773e-06/0.157, allocations: 0 / 0.5608 GB, free: 7.367 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.1572, allocations: 326.8 kB / 0.5611 GB, free: 7.039 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.894e-05/0.1572, allocations: 27.98 kB / 0.5612 GB, free: 7.012 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.209e-05/0.1573, allocations: 31.98 kB / 0.5612 GB, free: 6.98 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.247e-05/0.1573, allocations: 31.75 kB / 0.5612 GB, free: 6.953 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1574, allocations: 7.938 kB / 0.5612 GB, free: 6.945 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001716/0.1575, allocations: 105.6 kB / 0.5613 GB, free: 6.836 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.1576, allocations: 4 kB / 0.5613 GB, free: 6.832 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.1576, allocations: 0 / 0.5613 GB, free: 6.832 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.1576, allocations: 4 kB / 0.5614 GB, free: 6.828 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.897e-05/0.1577, allocations: 19.92 kB / 0.5614 GB, free: 6.809 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.1577, allocations: 0 / 0.5614 GB, free: 6.809 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.595e-05/0.1578, allocations: 15.89 kB / 0.5614 GB, free: 6.793 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.1578, allocations: 4 kB / 0.5614 GB, free: 6.789 MB / 430.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 ($whenCondition2,$whenCondition1,$PRE.locTim.tNext,locTim.tNext,$PRE.eqnTim.tNext,eqnTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001029/0.1579, allocations: 125.8 kB / 0.5615 GB, free: 6.656 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.711e-05/0.158, allocations: 7.906 kB / 0.5615 GB, free: 6.648 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002599/0.1582, allocations: 149.9 kB / 0.5617 GB, free: 6.496 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.1582, allocations: 0 / 0.5617 GB, free: 6.496 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1583, allocations: 3.938 kB / 0.5617 GB, free: 6.492 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.1583, allocations: 4 kB / 0.5617 GB, free: 6.488 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001914/0.1585, allocations: 209.5 kB / 0.5619 GB, free: 6.234 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.1585, allocations: 0 / 0.5619 GB, free: 6.234 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.756e-05/0.1586, allocations: 23.98 kB / 0.5619 GB, free: 6.211 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.1586, allocations: 0 / 0.5619 GB, free: 6.211 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.1586, allocations: 4 kB / 0.5619 GB, free: 6.207 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.1586, allocations: 4 kB / 0.5619 GB, free: 6.203 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1586, allocations: 4 kB / 0.5619 GB, free: 6.199 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002326/0.1588, allocations: 164.9 kB / 0.5621 GB, free: 6.02 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.627e-05/0.1589, allocations: 85 kB / 0.5621 GB, free: 5.918 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.534e-05/0.1589, allocations: 8 kB / 0.5621 GB, free: 5.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.089e-05/0.159, allocations: 8 kB / 0.5622 GB, free: 5.902 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.947e-05/0.1591, allocations: 15.97 kB / 0.5622 GB, free: 5.887 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/0.1591, allocations: 4 kB / 0.5622 GB, free: 5.883 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.977e-05/0.1592, allocations: 95.27 kB / 0.5623 GB, free: 5.789 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1592, allocations: 0 / 0.5623 GB, free: 5.789 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002123/0.1594, allocations: 27.91 kB / 0.5623 GB, free: 5.762 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005477/0.1599, allocations: 0.7061 MB / 0.563 GB, free: 5.031 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001869/0.1601, allocations: 83.97 kB / 0.5631 GB, free: 4.949 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1602, allocations: 0 / 0.5631 GB, free: 4.949 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.343e-05/0.1602, allocations: 55.91 kB / 0.5631 GB, free: 4.895 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001583/0.1604, allocations: 4 kB / 0.5631 GB, free: 4.891 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009847/0.1614, allocations: 0.6299 MB / 0.5637 GB, free: 4.211 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002815/0.1617, allocations: 0.7006 MB / 0.5644 GB, free: 3.484 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.749e-05/0.1618, allocations: 12.55 kB / 0.5644 GB, free: 3.469 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.907e-05/0.1618, allocations: 31.42 kB / 0.5645 GB, free: 3.438 MB / 430.1 MB Notification: Performance of SimCode: time 2e-07/0.1618, allocations: 0 / 0.5645 GB, free: 3.438 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01214/0.174, allocations: 2.023 MB / 0.5664 GB, free: 1.621 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002246/0.1743, allocations: 203.2 kB / 0.5666 GB, free: 1.383 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.627/1.802, allocations: 2.344 kB / 0.5666 GB, free: 1.383 MB / 430.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/linux/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) Environment - environmentSimulation: