Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="IDEAS_IDEAS_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.003766/0.003766, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.0009477/0.0009477, allocations: 194.1 kB / 16.67 MB, free: 5.969 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.212/1.212, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.702/0.702, allocations: 132.2 MB / 422.7 MB, free: 1.711 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001121/0.001121, allocations: 64.77 kB / 0.5809 GB, free: 1.113 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1294, allocations: 80.19 MB / 0.6592 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002245/0.1317, allocations: 1.448 MB / 0.6606 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003652/0.1321, allocations: 181.5 kB / 0.6608 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.539e-05/0.1321, allocations: 0 / 0.6608 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.367e-05/0.1322, allocations: 7.922 kB / 0.6608 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001792/0.1323, allocations: 15.92 kB / 0.6608 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001777/0.1325, allocations: 63.84 kB / 0.6609 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.902e-05/0.1326, allocations: 43.86 kB / 0.6609 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.221e-05/0.1327, allocations: 19.91 kB / 0.6609 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.833e-05/0.1328, allocations: 19.94 kB / 0.661 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.34e-05/0.1328, allocations: 19.91 kB / 0.661 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.1328, allocations: 4 kB / 0.661 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.161e-05/0.1329, allocations: 4 kB / 0.661 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.397e-05/0.1329, allocations: 11.98 kB / 0.661 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.961e-05/0.1329, allocations: 19.92 kB / 0.661 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.567e-05/0.133, allocations: 48.08 kB / 0.6611 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.133, allocations: 0 / 0.6611 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.573e-06/0.133, allocations: 0 / 0.6611 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.1331, allocations: 0 / 0.6611 GB, free: 12.08 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004363/0.1335, allocations: 347.4 kB / 0.6614 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.1335, allocations: 12.03 kB / 0.6614 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.575e-05/0.1336, allocations: 34.75 kB / 0.6614 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.164e-05/0.1336, allocations: 8.922 kB / 0.6615 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.1337, allocations: 168.3 kB / 0.6616 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.1338, allocations: 4.375 kB / 0.6616 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.917e-06/0.1338, allocations: 384 / 0.6616 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.1339, allocations: 72.81 kB / 0.6617 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.1339, allocations: 3.938 kB / 0.6617 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.1339, allocations: 3.984 kB / 0.6617 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-06/0.1339, allocations: 0 / 0.6617 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.712e-05/0.134, allocations: 15.98 kB / 0.6617 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003438/0.1343, allocations: 264.9 kB / 0.662 GB, free: 11 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.455e-05/0.1344, allocations: 46.5 kB / 0.662 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.132e-05/0.1345, allocations: 16.86 kB / 0.662 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.145e-06/0.1345, allocations: 0 / 0.662 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001368/0.1346, allocations: 55.48 kB / 0.6621 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 2.375e-06/0.1346, allocations: 4 kB / 0.6621 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001862/0.1348, allocations: 85.5 kB / 0.6622 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.736e-05/0.1349, allocations: 102.8 kB / 0.6623 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.744e-05/0.135, allocations: 109.8 kB / 0.6624 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.135, allocations: 25.7 kB / 0.6624 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.383e-05/0.135, allocations: 84.14 kB / 0.6625 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.597e-05/0.1351, allocations: 7.953 kB / 0.6625 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.989e-05/0.1351, allocations: 25.7 kB / 0.6625 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.91e-05/0.1352, allocations: 310.8 kB / 0.6628 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.831e-05/0.1352, allocations: 11.98 kB / 0.6628 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.785e-05/0.1353, allocations: 38.58 kB / 0.6628 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.248e-05/0.1354, allocations: 37.09 kB / 0.6629 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.1354, allocations: 0 / 0.6629 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.442e-05/0.1355, allocations: 57.66 kB / 0.6629 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.1355, allocations: 15.92 kB / 0.663 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.636e-06/0.1355, allocations: 0 / 0.663 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.1355, allocations: 0 / 0.663 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.993e-05/0.1356, allocations: 4 kB / 0.663 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.1356, allocations: 0 / 0.663 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.1357, allocations: 19.95 kB / 0.663 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.1357, allocations: 0 / 0.663 GB, free: 9.855 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 8.769e-05/0.1358, allocations: 122.4 kB / 0.6631 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.491e-05/0.1358, allocations: 0 / 0.6631 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.304e-05/0.1359, allocations: 11.5 kB / 0.6631 GB, free: 9.707 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.1359, allocations: 0 / 0.6631 GB, free: 9.707 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.1359, allocations: 3.984 kB / 0.6631 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1359, allocations: 0 / 0.6631 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001163/0.136, allocations: 165.6 kB / 0.6633 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.136, allocations: 4 kB / 0.6633 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.297e-05/0.136, allocations: 4 kB / 0.6633 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.136, allocations: 0 / 0.6633 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.503e-06/0.136, allocations: 0 / 0.6633 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.1361, allocations: 3.984 kB / 0.6633 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1361, allocations: 0 / 0.6633 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001184/0.1362, allocations: 93.02 kB / 0.6634 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.935e-05/0.1362, allocations: 85.09 kB / 0.6634 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/0.1363, allocations: 7.938 kB / 0.6635 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.1364, allocations: 12.22 kB / 0.6635 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.558e-05/0.1364, allocations: 11.92 kB / 0.6635 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.1364, allocations: 0 / 0.6635 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.92e-05/0.1365, allocations: 87.34 kB / 0.6636 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1365, allocations: 0 / 0.6636 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001912/0.1367, allocations: 16 kB / 0.6636 GB, free: 9.137 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.0003675/0.137, allocations: 0.6319 MB / 0.6642 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000103/0.1372, allocations: 35.92 kB / 0.6642 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1372, allocations: 0 / 0.6642 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.845e-05/0.1372, allocations: 15.98 kB / 0.6642 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001419/0.1374, allocations: 8.75 kB / 0.6643 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009177/0.1383, allocations: 1.17 MB / 0.6654 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002094/0.1385, allocations: 0.6807 MB / 0.6661 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.351e-05/0.1385, allocations: 8 kB / 0.6661 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.702e-05/0.1386, allocations: 19.42 kB / 0.6661 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of SimCode: time 1.543e-06/0.1386, allocations: 0 / 0.6661 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01639/0.155, allocations: 1.754 MB / 0.6678 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.857/7.012, allocations: 8.453 kB / 0.6678 GB, free: 4.855 MB / 0.4981 GB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1)