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.001109/0.001109, allocations: 104 kB / 16.4 MB, free: 6.457 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.001128/0.001128, allocations: 196 kB / 17.34 MB, free: 5.715 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.296/1.296, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7494/0.7494, allocations: 122.9 MB / 414.1 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002291/0.002291, allocations: 60.91 kB / 0.568 GB, free: 28.81 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1399, allocations: 77.93 MB / 0.6441 GB, free: 9.539 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.00262/0.1425, allocations: 1.597 MB / 0.6456 GB, free: 7.934 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009375/0.1435, allocations: 0.5387 MB / 0.6462 GB, free: 7.391 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.28e-05/0.1436, allocations: 0 / 0.6462 GB, free: 7.391 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.434e-05/0.1436, allocations: 7.922 kB / 0.6462 GB, free: 7.383 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002696/0.1439, allocations: 43.64 kB / 0.6462 GB, free: 7.34 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001393/0.144, allocations: 43.88 kB / 0.6462 GB, free: 7.297 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001401/0.1442, allocations: 107.6 kB / 0.6463 GB, free: 7.191 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.1443, allocations: 23.98 kB / 0.6464 GB, free: 7.168 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.1444, allocations: 47.83 kB / 0.6464 GB, free: 7.121 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.1445, allocations: 51.77 kB / 0.6465 GB, free: 7.07 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.17e-05/0.1446, allocations: 8 kB / 0.6465 GB, free: 7.062 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.943e-05/0.1446, allocations: 8 kB / 0.6465 GB, free: 7.055 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.213e-05/0.1446, allocations: 23.97 kB / 0.6465 GB, free: 7.031 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.204e-05/0.1447, allocations: 47.78 kB / 0.6465 GB, free: 6.984 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001438/0.1449, allocations: 95.78 kB / 0.6466 GB, free: 6.891 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1449, allocations: 0 / 0.6466 GB, free: 6.891 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1449, allocations: 0 / 0.6466 GB, free: 6.891 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1449, allocations: 0 / 0.6466 GB, free: 6.891 MB / 494.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.0007168/0.1456, allocations: 411.1 kB / 0.647 GB, free: 6.441 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.1457, allocations: 8.625 kB / 0.647 GB, free: 6.434 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.903e-05/0.1457, allocations: 38.73 kB / 0.6471 GB, free: 6.387 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.735e-05/0.1457, allocations: 12.89 kB / 0.6471 GB, free: 6.375 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.1459, allocations: 176.3 kB / 0.6473 GB, free: 6.164 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.1459, allocations: 8.359 kB / 0.6473 GB, free: 6.156 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.1459, allocations: 8.375 kB / 0.6473 GB, free: 6.148 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.1461, allocations: 89.7 kB / 0.6474 GB, free: 6.055 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.1461, allocations: 0 / 0.6474 GB, free: 6.055 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.1461, allocations: 0 / 0.6474 GB, free: 6.055 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.1461, allocations: 8 kB / 0.6474 GB, free: 6.047 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.1463, allocations: 51.95 kB / 0.6474 GB, free: 5.996 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004867/0.1468, allocations: 344.6 kB / 0.6477 GB, free: 5.609 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002712/0.147, allocations: 102.7 kB / 0.6478 GB, free: 5.5 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.816e-05/0.1471, allocations: 40.84 kB / 0.6479 GB, free: 5.457 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/0.1471, allocations: 4 kB / 0.6479 GB, free: 5.453 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002141/0.1474, allocations: 107.2 kB / 0.648 GB, free: 5.336 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 1.723e-06/0.1474, allocations: 0 / 0.648 GB, free: 5.336 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003228/0.1477, allocations: 141.6 kB / 0.6481 GB, free: 5.191 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.1477, allocations: 55.41 kB / 0.6482 GB, free: 5.125 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.746e-05/0.1479, allocations: 129.8 kB / 0.6483 GB, free: 4.988 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.1479, allocations: 25.7 kB / 0.6483 GB, free: 4.957 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.967e-05/0.1479, allocations: 104.4 kB / 0.6484 GB, free: 4.848 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.504e-05/0.148, allocations: 31.73 kB / 0.6485 GB, free: 4.816 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.844e-05/0.148, allocations: 29.7 kB / 0.6485 GB, free: 4.781 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.1481, allocations: 318.8 kB / 0.6488 GB, free: 4.461 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.343e-05/0.1482, allocations: 31.88 kB / 0.6488 GB, free: 4.43 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.487e-05/0.1483, allocations: 27.98 kB / 0.6488 GB, free: 4.402 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.1484, allocations: 64.84 kB / 0.6489 GB, free: 4.336 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1484, allocations: 4 kB / 0.6489 GB, free: 4.332 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001877/0.1486, allocations: 115.1 kB / 0.649 GB, free: 4.215 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.1486, allocations: 4 kB / 0.649 GB, free: 4.211 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.1486, allocations: 0 / 0.649 GB, free: 4.211 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.1486, allocations: 4 kB / 0.649 GB, free: 4.207 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.1488, allocations: 19.92 kB / 0.649 GB, free: 4.188 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.1488, allocations: 0 / 0.649 GB, free: 4.188 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/0.1489, allocations: 27.81 kB / 0.6491 GB, free: 4.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.1489, allocations: 0 / 0.6491 GB, free: 4.16 MB / 494.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 8.832e-05/0.149, allocations: 118.7 kB / 0.6492 GB, free: 4.035 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.224e-05/0.149, allocations: 11.94 kB / 0.6492 GB, free: 4.023 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002685/0.1493, allocations: 151.2 kB / 0.6493 GB, free: 3.863 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.1493, allocations: 4 kB / 0.6493 GB, free: 3.859 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.1493, allocations: 0 / 0.6493 GB, free: 3.859 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.1493, allocations: 3.938 kB / 0.6493 GB, free: 3.855 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001705/0.1495, allocations: 213.5 kB / 0.6495 GB, free: 3.598 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1495, allocations: 0 / 0.6495 GB, free: 3.598 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.571e-05/0.1496, allocations: 15.98 kB / 0.6496 GB, free: 3.582 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.1496, allocations: 4 kB / 0.6496 GB, free: 3.578 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.1496, allocations: 4 kB / 0.6496 GB, free: 3.574 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/0.1497, allocations: 0 / 0.6496 GB, free: 3.574 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1497, allocations: 0 / 0.6496 GB, free: 3.574 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002369/0.1499, allocations: 164.9 kB / 0.6497 GB, free: 3.395 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.834e-05/0.15, allocations: 92.98 kB / 0.6498 GB, free: 3.285 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/0.15, allocations: 0 / 0.6498 GB, free: 3.285 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.1501, allocations: 15.98 kB / 0.6498 GB, free: 3.27 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.404e-05/0.1502, allocations: 15.92 kB / 0.6498 GB, free: 3.254 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.1502, allocations: 4 kB / 0.6499 GB, free: 3.25 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.058e-05/0.1503, allocations: 103.2 kB / 0.65 GB, free: 3.148 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1503, allocations: 0 / 0.65 GB, free: 3.148 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002179/0.1505, allocations: 24 kB / 0.65 GB, free: 3.125 MB / 494.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.0005271/0.151, allocations: 0.7052 MB / 0.6507 GB, free: 2.395 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001959/0.1512, allocations: 79.97 kB / 0.6507 GB, free: 2.316 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1512, allocations: 0 / 0.6507 GB, free: 2.316 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.832e-05/0.1513, allocations: 59.86 kB / 0.6508 GB, free: 2.258 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001671/0.1515, allocations: 7.938 kB / 0.6508 GB, free: 2.25 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001458/0.153, allocations: 1.462 MB / 0.6522 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002563/0.1533, allocations: 0.704 MB / 0.6529 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.959e-05/0.1533, allocations: 20.53 kB / 0.6529 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.944e-05/0.1534, allocations: 31.42 kB / 0.653 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of SimCode: time 2.71e-07/0.1534, allocations: 0 / 0.653 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01772/0.1711, allocations: 2.304 MB / 0.6552 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.286/7.457, allocations: 5.891 kB / 0.6552 GB, free: 13.77 MB / 0.4981 GB (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.csv --start-time 0 --stop-time 864000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 345.6 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1)