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.001919/0.001919, allocations: 111.1 kB / 16.41 MB, free: 6.441 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.002157/0.002157, allocations: 189.2 kB / 17.34 MB, free: 5.703 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.388/1.388, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8103/0.8103, allocations: 126.7 MB / 417.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 69.09 kB / 0.5735 GB, free: 27.08 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1321, allocations: 78.88 MB / 0.6506 GB, free: 3.555 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.00247/0.1346, allocations: 1.438 MB / 0.652 GB, free: 2.105 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008403/0.1355, allocations: 0.5044 MB / 0.6525 GB, free: 1.598 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.31e-05/0.1355, allocations: 0 / 0.6525 GB, free: 1.598 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.312e-05/0.1356, allocations: 7.875 kB / 0.6525 GB, free: 1.59 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001937/0.1358, allocations: 26.59 kB / 0.6525 GB, free: 1.566 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.835e-05/0.1359, allocations: 31.91 kB / 0.6525 GB, free: 1.535 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.522e-05/0.136, allocations: 51.84 kB / 0.6526 GB, free: 1.484 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.396e-05/0.1361, allocations: 4 kB / 0.6526 GB, free: 1.48 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.886e-05/0.1362, allocations: 19.92 kB / 0.6526 GB, free: 1.461 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.023e-05/0.1362, allocations: 31.89 kB / 0.6526 GB, free: 1.43 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.1363, allocations: 4 kB / 0.6526 GB, free: 1.426 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.169e-05/0.1363, allocations: 4 kB / 0.6526 GB, free: 1.422 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.332e-05/0.1363, allocations: 15.98 kB / 0.6526 GB, free: 1.406 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.725e-05/0.1364, allocations: 15.88 kB / 0.6527 GB, free: 1.391 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001003/0.1365, allocations: 48.08 kB / 0.6527 GB, free: 1.344 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.1365, allocations: 0 / 0.6527 GB, free: 1.344 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1365, allocations: 0 / 0.6527 GB, free: 1.344 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.1365, allocations: 0 / 0.6527 GB, free: 1.344 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005702/0.1371, allocations: 355.4 kB / 0.653 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.1371, allocations: 12.03 kB / 0.6531 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.732e-05/0.1372, allocations: 38.69 kB / 0.6531 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.15e-05/0.1372, allocations: 4.891 kB / 0.6531 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.1373, allocations: 172.4 kB / 0.6533 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.1373, allocations: 384 / 0.6533 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.1374, allocations: 4.375 kB / 0.6533 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.1375, allocations: 57.8 kB / 0.6533 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.1375, allocations: 0 / 0.6533 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.1375, allocations: 4 kB / 0.6533 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.1375, allocations: 0 / 0.6533 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.038e-05/0.1376, allocations: 31.92 kB / 0.6534 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003592/0.138, allocations: 284.8 kB / 0.6536 GB, free: 256 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002072/0.1382, allocations: 54.69 kB / 0.6537 GB, free: 192 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.642e-05/0.1383, allocations: 28.84 kB / 0.6537 GB, free: 160 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.395e-05/0.1383, allocations: 0 / 0.6537 GB, free: 160 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001508/0.1385, allocations: 75.31 kB / 0.6538 GB, free: 72 kB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.1385, allocations: 0 / 0.6538 GB, free: 72 kB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002458/0.1387, allocations: 93.62 kB / 0.6539 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/0.1388, allocations: 51.41 kB / 0.6539 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.222e-05/0.1389, allocations: 105.8 kB / 0.654 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.1389, allocations: 25.7 kB / 0.654 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.132e-05/0.1389, allocations: 80.14 kB / 0.6541 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.67e-05/0.139, allocations: 23.86 kB / 0.6541 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.803e-05/0.139, allocations: 21.7 kB / 0.6542 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.1392, allocations: 330.7 kB / 0.6545 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.374e-05/0.1392, allocations: 11.98 kB / 0.6545 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.191e-05/0.1393, allocations: 19.94 kB / 0.6545 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.405e-05/0.1394, allocations: 36.84 kB / 0.6545 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.1394, allocations: 0 / 0.6545 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001286/0.1395, allocations: 73.89 kB / 0.6546 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.1395, allocations: 4 kB / 0.6546 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.387e-06/0.1395, allocations: 4 kB / 0.6546 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.969e-06/0.1395, allocations: 4 kB / 0.6546 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.47e-05/0.1396, allocations: 15.92 kB / 0.6546 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.848e-06/0.1396, allocations: 0 / 0.6546 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.672e-05/0.1397, allocations: 7.938 kB / 0.6547 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.1397, allocations: 8.172 kB / 0.6547 GB, free: 15.11 MB / 0.4981 GB 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 9.156e-05/0.1398, allocations: 113.8 kB / 0.6548 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.747e-05/0.1399, allocations: 11.94 kB / 0.6548 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002029/0.1401, allocations: 105.6 kB / 0.6549 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1401, allocations: 0 / 0.6549 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.1401, allocations: 0 / 0.6549 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1401, allocations: 0 / 0.6549 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000163/0.1403, allocations: 181.6 kB / 0.6551 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1403, allocations: 4 kB / 0.6551 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.253e-05/0.1403, allocations: 8.25 kB / 0.6551 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.1404, allocations: 0 / 0.6551 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.1404, allocations: 4 kB / 0.6551 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.1404, allocations: 3.984 kB / 0.6551 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1404, allocations: 8 kB / 0.6551 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001893/0.1406, allocations: 120.9 kB / 0.6552 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.634e-05/0.1406, allocations: 77.11 kB / 0.6553 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.078e-05/0.1407, allocations: 8.188 kB / 0.6553 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.49e-05/0.1407, allocations: 0 / 0.6553 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.085e-05/0.1408, allocations: 11.92 kB / 0.6553 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.1408, allocations: 4 kB / 0.6553 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.868e-05/0.1409, allocations: 95.2 kB / 0.6554 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1409, allocations: 0 / 0.6554 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001938/0.1411, allocations: 12 kB / 0.6554 GB, free: 14.25 MB / 0.4981 GB 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.0005054/0.1416, allocations: 0.6514 MB / 0.656 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001349/0.1417, allocations: 47.92 kB / 0.6561 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.1417, allocations: 8 kB / 0.6561 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.562e-05/0.1418, allocations: 31.92 kB / 0.6561 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001455/0.142, allocations: 8.938 kB / 0.6561 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/0.1432, allocations: 1.223 MB / 0.6573 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003134/0.1435, allocations: 0.6846 MB / 0.658 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.47e-05/0.1436, allocations: 7.984 kB / 0.658 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.987e-05/0.1436, allocations: 23.38 kB / 0.658 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1436, allocations: 0 / 0.658 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02077/0.1644, allocations: 1.657 MB / 0.6596 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.023/8.188, allocations: 14.05 kB / 0.6596 GB, free: 9.906 MB / 0.4981 GB (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1)