Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.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.ConvertTime,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",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.001292/0.001292, allocations: 101.6 kB / 16.4 MB, free: 6.504 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.001228/0.001228, allocations: 196 kB / 17.34 MB, free: 5.727 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.382/1.382, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8062/0.8062, allocations: 126.7 MB / 417.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 69.03 kB / 0.5735 GB, free: 27.09 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1304, allocations: 78.87 MB / 0.6506 GB, free: 3.594 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002503/0.133, allocations: 1.437 MB / 0.652 GB, free: 2.145 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004208/0.1334, allocations: 200.3 kB / 0.6522 GB, free: 1.953 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.725e-05/0.1335, allocations: 4 kB / 0.6522 GB, free: 1.949 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.092e-05/0.1335, allocations: 0 / 0.6522 GB, free: 1.949 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001929/0.1337, allocations: 27.84 kB / 0.6522 GB, free: 1.922 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001831/0.1339, allocations: 51.86 kB / 0.6522 GB, free: 1.871 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.134, allocations: 55.84 kB / 0.6523 GB, free: 1.816 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.233e-05/0.1341, allocations: 4 kB / 0.6523 GB, free: 1.812 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.716e-05/0.1341, allocations: 31.91 kB / 0.6523 GB, free: 1.781 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.213e-05/0.1342, allocations: 19.92 kB / 0.6524 GB, free: 1.762 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.215e-05/0.1342, allocations: 4 kB / 0.6524 GB, free: 1.758 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.691e-05/0.1343, allocations: 4 kB / 0.6524 GB, free: 1.754 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.639e-05/0.1343, allocations: 11.98 kB / 0.6524 GB, free: 1.742 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.519e-05/0.1344, allocations: 31.84 kB / 0.6524 GB, free: 1.711 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001008/0.1345, allocations: 48.09 kB / 0.6524 GB, free: 1.664 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.1345, allocations: 0 / 0.6524 GB, free: 1.664 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1345, allocations: 0 / 0.6524 GB, free: 1.664 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.1345, allocations: 0 / 0.6524 GB, free: 1.664 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005545/0.135, allocations: 351.4 kB / 0.6528 GB, free: 1.27 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.1351, allocations: 12.03 kB / 0.6528 GB, free: 1.258 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.811e-05/0.1351, allocations: 34.69 kB / 0.6528 GB, free: 1.215 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.134e-05/0.1352, allocations: 8.891 kB / 0.6528 GB, free: 1.207 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.1353, allocations: 176.3 kB / 0.653 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.1353, allocations: 4.375 kB / 0.653 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.1354, allocations: 4.359 kB / 0.653 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.1355, allocations: 76.81 kB / 0.6531 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.1355, allocations: 7.922 kB / 0.6531 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.1356, allocations: 4 kB / 0.6531 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.1356, allocations: 0 / 0.6531 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.663e-05/0.1356, allocations: 19.94 kB / 0.6531 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003721/0.136, allocations: 276.8 kB / 0.6534 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.799e-05/0.1361, allocations: 34.67 kB / 0.6534 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.892e-05/0.1361, allocations: 16.84 kB / 0.6534 GB, free: 496 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.1362, allocations: 4 kB / 0.6534 GB, free: 492 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000149/0.1363, allocations: 67.33 kB / 0.6535 GB, free: 412 kB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.463e-06/0.1363, allocations: 0 / 0.6535 GB, free: 412 kB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002088/0.1365, allocations: 73.67 kB / 0.6536 GB, free: 332 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.208e-05/0.1366, allocations: 102.8 kB / 0.6537 GB, free: 204 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.42e-05/0.1367, allocations: 105.8 kB / 0.6538 GB, free: 88 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.1368, allocations: 25.7 kB / 0.6538 GB, free: 56 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.582e-05/0.1368, allocations: 88.14 kB / 0.6539 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.179e-05/0.1369, allocations: 11.84 kB / 0.6539 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.04e-05/0.1369, allocations: 33.58 kB / 0.6539 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.1371, allocations: 322.8 kB / 0.6542 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.065e-05/0.1371, allocations: 8 kB / 0.6542 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.858e-05/0.1372, allocations: 34.56 kB / 0.6543 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.926e-05/0.1372, allocations: 28.84 kB / 0.6543 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1372, allocations: 0 / 0.6543 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001048/0.1373, allocations: 49.7 kB / 0.6543 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.1374, allocations: 8 kB / 0.6543 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.1374, allocations: 8.016 kB / 0.6544 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.1374, allocations: 0 / 0.6544 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.401e-05/0.1375, allocations: 11.94 kB / 0.6544 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.299e-06/0.1375, allocations: 0 / 0.6544 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.1376, allocations: 16.38 kB / 0.6544 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.363e-06/0.1376, allocations: 0 / 0.6544 GB, free: 15.41 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 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.489e-05/0.1377, allocations: 117.8 kB / 0.6545 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.38e-05/0.1377, allocations: 0 / 0.6545 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.313e-05/0.1378, allocations: 15.5 kB / 0.6545 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.1378, allocations: 0 / 0.6545 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.1378, allocations: 0 / 0.6545 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.1378, allocations: 3.984 kB / 0.6545 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/0.1379, allocations: 173.5 kB / 0.6547 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-06/0.138, allocations: 0 / 0.6547 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.452e-05/0.138, allocations: 4 kB / 0.6547 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.138, allocations: 0 / 0.6547 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.138, allocations: 3.984 kB / 0.6547 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.138, allocations: 0 / 0.6547 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.227e-06/0.138, allocations: 4 kB / 0.6547 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000152/0.1382, allocations: 97.17 kB / 0.6548 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.424e-05/0.1382, allocations: 89.05 kB / 0.6549 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.382e-05/0.1383, allocations: 4 kB / 0.6549 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.1384, allocations: 7.984 kB / 0.6549 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.874e-05/0.1384, allocations: 7.984 kB / 0.6549 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-06/0.1385, allocations: 0 / 0.6549 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.871e-05/0.1385, allocations: 87.28 kB / 0.655 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1385, allocations: 4 kB / 0.655 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002044/0.1387, allocations: 8 kB / 0.655 GB, free: 14.7 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,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * 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.000485/0.1392, allocations: 0.6357 MB / 0.6556 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001273/0.1394, allocations: 31.98 kB / 0.6556 GB, free: 14 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1394, allocations: 0 / 0.6556 GB, free: 14 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.404e-05/0.1394, allocations: 23.92 kB / 0.6557 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000148/0.1396, allocations: 5.719 kB / 0.6557 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/0.1408, allocations: 1.165 MB / 0.6568 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003111/0.1411, allocations: 0.6807 MB / 0.6575 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.937e-05/0.1411, allocations: 7.984 kB / 0.6575 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.699e-05/0.1412, allocations: 11.44 kB / 0.6575 GB, free: 12 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.1412, allocations: 0 / 0.6575 GB, free: 12 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02094/0.1621, allocations: 1.783 MB / 0.6592 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.852/8.014, allocations: 13 kB / 0.6592 GB, free: 10.36 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.csv --start-time 0 --stop-time 7.776e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 31104 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1)