Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.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.ConvertTimePositiveStart,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",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.001273/0.001273, allocations: 103.9 kB / 16.4 MB, free: 6.465 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.001195/0.001195, allocations: 193.2 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.391/1.391, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8104/0.8104, allocations: 126.7 MB / 417.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 61 kB / 0.5736 GB, free: 26.99 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1284, allocations: 78.87 MB / 0.6506 GB, free: 3.562 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002473/0.1309, allocations: 1.447 MB / 0.652 GB, free: 2.102 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004226/0.1314, allocations: 193.2 kB / 0.6522 GB, free: 1.914 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.347e-05/0.1314, allocations: 8 kB / 0.6522 GB, free: 1.906 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.507e-05/0.1314, allocations: 0 / 0.6522 GB, free: 1.906 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001883/0.1317, allocations: 19.84 kB / 0.6522 GB, free: 1.887 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001927/0.1319, allocations: 57.86 kB / 0.6523 GB, free: 1.832 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.132, allocations: 55.84 kB / 0.6523 GB, free: 1.777 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.558e-05/0.132, allocations: 7.984 kB / 0.6523 GB, free: 1.77 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.007e-05/0.1321, allocations: 23.92 kB / 0.6523 GB, free: 1.746 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.579e-05/0.1322, allocations: 27.91 kB / 0.6524 GB, free: 1.719 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.404e-05/0.1322, allocations: 8 kB / 0.6524 GB, free: 1.711 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.622e-05/0.1322, allocations: 4 kB / 0.6524 GB, free: 1.707 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.153e-05/0.1323, allocations: 15.92 kB / 0.6524 GB, free: 1.691 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.11e-05/0.1323, allocations: 15.92 kB / 0.6524 GB, free: 1.676 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000103/0.1324, allocations: 52.09 kB / 0.6525 GB, free: 1.625 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1324, allocations: 0 / 0.6525 GB, free: 1.625 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1324, allocations: 0 / 0.6525 GB, free: 1.625 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.553e-06/0.1324, allocations: 0 / 0.6525 GB, free: 1.625 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.0005236/0.133, allocations: 351.3 kB / 0.6528 GB, free: 1.23 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.133, allocations: 16.03 kB / 0.6528 GB, free: 1.215 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.234e-05/0.1331, allocations: 34.75 kB / 0.6528 GB, free: 1.172 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.253e-05/0.1331, allocations: 8.891 kB / 0.6528 GB, free: 1.164 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.1333, allocations: 168.3 kB / 0.653 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.1333, allocations: 8.359 kB / 0.653 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.928e-06/0.1333, allocations: 4.375 kB / 0.653 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.1335, allocations: 76.81 kB / 0.6531 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.1335, allocations: 7.875 kB / 0.6531 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.1335, allocations: 4 kB / 0.6531 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.1335, allocations: 0 / 0.6531 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.543e-05/0.1336, allocations: 15.98 kB / 0.6531 GB, free: 0.832 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003637/0.1339, allocations: 276.8 kB / 0.6534 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.544e-05/0.134, allocations: 42.56 kB / 0.6534 GB, free: 472 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.351e-05/0.1341, allocations: 16.8 kB / 0.6534 GB, free: 452 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.217e-06/0.1341, allocations: 4 kB / 0.6534 GB, free: 448 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001547/0.1343, allocations: 59.48 kB / 0.6535 GB, free: 376 kB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.422e-06/0.1343, allocations: 0 / 0.6535 GB, free: 376 kB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002099/0.1345, allocations: 77.67 kB / 0.6536 GB, free: 292 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.16e-05/0.1346, allocations: 110.7 kB / 0.6537 GB, free: 156 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.505e-05/0.1347, allocations: 105.8 kB / 0.6538 GB, free: 40 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.1347, allocations: 29.64 kB / 0.6538 GB, free: 4 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.792e-05/0.1348, allocations: 88.14 kB / 0.6539 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.016e-05/0.1348, allocations: 11.91 kB / 0.6539 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.608e-05/0.1348, allocations: 21.7 kB / 0.6539 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.135, allocations: 318.8 kB / 0.6542 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.197e-05/0.135, allocations: 11.98 kB / 0.6542 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.904e-05/0.1351, allocations: 38.56 kB / 0.6543 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.06e-05/0.1352, allocations: 20.86 kB / 0.6543 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1352, allocations: 8.031 kB / 0.6543 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001088/0.1353, allocations: 57.62 kB / 0.6544 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.1353, allocations: 5.875 kB / 0.6544 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.1353, allocations: 4 kB / 0.6544 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.848e-06/0.1353, allocations: 0 / 0.6544 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.281e-05/0.1354, allocations: 4.438 kB / 0.6544 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.1354, allocations: 0 / 0.6544 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001182/0.1355, allocations: 19.94 kB / 0.6544 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.1356, allocations: 0 / 0.6544 GB, free: 15.37 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 0.0001/0.1357, allocations: 121.8 kB / 0.6545 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.571e-05/0.1357, allocations: 3.984 kB / 0.6545 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.299e-05/0.1357, allocations: 11.5 kB / 0.6545 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.1357, allocations: 0 / 0.6545 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.1357, allocations: 0 / 0.6545 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.1357, allocations: 0 / 0.6545 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001537/0.1359, allocations: 173.5 kB / 0.6547 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.1359, allocations: 3.984 kB / 0.6547 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.35e-05/0.1359, allocations: 4 kB / 0.6547 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.532e-06/0.1359, allocations: 0 / 0.6547 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.1359, allocations: 4 kB / 0.6547 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1359, allocations: 0 / 0.6547 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.136, allocations: 0 / 0.6547 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001479/0.1361, allocations: 101.2 kB / 0.6548 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.083e-05/0.1362, allocations: 85.06 kB / 0.6549 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/0.1362, allocations: 3.984 kB / 0.6549 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.1363, allocations: 4 kB / 0.6549 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.1364, allocations: 15.98 kB / 0.6549 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.597e-06/0.1364, allocations: 3.938 kB / 0.6549 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.142e-05/0.1364, allocations: 83.27 kB / 0.655 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1365, allocations: 4 kB / 0.655 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001969/0.1367, allocations: 12 kB / 0.655 GB, free: 14.65 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.0004762/0.1371, allocations: 0.6396 MB / 0.6556 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001129/0.1373, allocations: 27.98 kB / 0.6557 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1373, allocations: 0 / 0.6557 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.448e-05/0.1373, allocations: 12 kB / 0.6557 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001426/0.1375, allocations: 11.94 kB / 0.6557 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.1386, allocations: 1.165 MB / 0.6568 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003087/0.1389, allocations: 0.6807 MB / 0.6575 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.576e-05/0.139, allocations: 4 kB / 0.6575 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.956e-05/0.139, allocations: 15.44 kB / 0.6575 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.139, allocations: 4 kB / 0.6575 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02149/0.1605, allocations: 1.793 MB / 0.6593 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.599/7.76, allocations: 11.3 kB / 0.6593 GB, free: 10.31 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.csv --start-time 4.71744e+07 --stop-time 1.26144e+08 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 31587.8 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1)