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.004403/0.004403, allocations: 97.95 kB / 15.73 MB, free: 6.062 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.001279/0.00128, allocations: 193 kB / 16.68 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.866/0.866, allocations: 132.2 MB / 422.7 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001861, allocations: 61.03 kB / 0.5809 GB, free: 24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1292, allocations: 80.2 MB / 0.6592 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002556/0.1318, allocations: 1.44 MB / 0.6606 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004203/0.1322, allocations: 183.4 kB / 0.6608 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.703e-05/0.1323, allocations: 0 / 0.6608 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.028e-05/0.1323, allocations: 3.938 kB / 0.6608 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001914/0.1325, allocations: 23.84 kB / 0.6608 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001757/0.1327, allocations: 50.22 kB / 0.6609 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.701e-05/0.1328, allocations: 59.83 kB / 0.6609 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.05e-05/0.1329, allocations: 8 kB / 0.6609 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.647e-05/0.1329, allocations: 27.91 kB / 0.661 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.869e-05/0.133, allocations: 15.92 kB / 0.661 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.106e-05/0.133, allocations: 4 kB / 0.661 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.551e-05/0.133, allocations: 4 kB / 0.661 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.588e-05/0.1331, allocations: 11.98 kB / 0.661 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.239e-05/0.1331, allocations: 19.91 kB / 0.661 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001021/0.1332, allocations: 44.11 kB / 0.6611 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.1332, allocations: 0 / 0.6611 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1332, allocations: 4 kB / 0.6611 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.416e-06/0.1333, allocations: 0 / 0.6611 GB, free: 8.848 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.0005358/0.1338, allocations: 351.3 kB / 0.6614 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.1338, allocations: 12.03 kB / 0.6614 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.237e-05/0.1339, allocations: 34.69 kB / 0.6614 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.648e-05/0.1339, allocations: 0.9375 kB / 0.6614 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.1341, allocations: 172.3 kB / 0.6616 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.1341, allocations: 4.359 kB / 0.6616 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.318e-05/0.1341, allocations: 4.375 kB / 0.6616 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.1343, allocations: 68.83 kB / 0.6617 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.1343, allocations: 3.938 kB / 0.6617 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.1343, allocations: 0 / 0.6617 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.1343, allocations: 0 / 0.6617 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.461e-05/0.1344, allocations: 19.92 kB / 0.6617 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000396/0.1348, allocations: 264.9 kB / 0.662 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.808e-05/0.1349, allocations: 46.5 kB / 0.662 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.179e-05/0.1349, allocations: 12.86 kB / 0.662 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.135, allocations: 8.078 kB / 0.662 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001337/0.1351, allocations: 63.27 kB / 0.6621 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.323e-06/0.1351, allocations: 0 / 0.6621 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0002044/0.1353, allocations: 77.64 kB / 0.6622 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.408e-05/0.1354, allocations: 102.8 kB / 0.6623 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.76e-05/0.1355, allocations: 109.8 kB / 0.6624 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.1355, allocations: 25.7 kB / 0.6624 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.376e-05/0.1356, allocations: 84.14 kB / 0.6625 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.856e-05/0.1356, allocations: 11.94 kB / 0.6625 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.445e-05/0.1357, allocations: 13.72 kB / 0.6625 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.1358, allocations: 322.8 kB / 0.6628 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.17e-05/0.1358, allocations: 16.19 kB / 0.6628 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.337e-05/0.1359, allocations: 38.56 kB / 0.6628 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.943e-05/0.136, allocations: 24.8 kB / 0.6629 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.136, allocations: 0 / 0.6629 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001102/0.1361, allocations: 65.64 kB / 0.6629 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.1361, allocations: 5.562 kB / 0.6629 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.1361, allocations: 4 kB / 0.6629 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.788e-06/0.1361, allocations: 0 / 0.6629 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.32e-05/0.1362, allocations: 7.938 kB / 0.663 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.1362, allocations: 4.031 kB / 0.663 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/0.1364, allocations: 15.92 kB / 0.663 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.263e-06/0.1364, allocations: 0 / 0.663 GB, free: 6.625 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.0001041/0.1365, allocations: 122.6 kB / 0.6631 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.39e-05/0.1365, allocations: 192 / 0.6631 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.163e-05/0.1365, allocations: 7.5 kB / 0.6631 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.1365, allocations: 3.984 kB / 0.6631 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.1365, allocations: 3.938 kB / 0.6631 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.1365, allocations: 4 kB / 0.6631 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001471/0.1367, allocations: 173.6 kB / 0.6633 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1367, allocations: 0 / 0.6633 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.546e-05/0.1367, allocations: 4 kB / 0.6633 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.1367, allocations: 0 / 0.6633 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.1368, allocations: 0 / 0.6633 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1368, allocations: 192 / 0.6633 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.1368, allocations: 0 / 0.6633 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001517/0.1369, allocations: 108.9 kB / 0.6634 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.036e-05/0.137, allocations: 85.09 kB / 0.6635 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/0.137, allocations: 8 kB / 0.6635 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.1371, allocations: 7.984 kB / 0.6635 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.891e-05/0.1372, allocations: 0 / 0.6635 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.1372, allocations: 4 kB / 0.6635 GB, free: 6 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.33e-05/0.1373, allocations: 87.27 kB / 0.6636 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1373, allocations: 0 / 0.6636 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001978/0.1375, allocations: 8 kB / 0.6636 GB, free: 5.906 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.0004834/0.138, allocations: 0.6358 MB / 0.6642 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001141/0.1381, allocations: 31.92 kB / 0.6642 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1381, allocations: 0 / 0.6642 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.984e-05/0.1381, allocations: 16 kB / 0.6642 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001435/0.1383, allocations: 6.406 kB / 0.6642 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/0.1394, allocations: 1.168 MB / 0.6654 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/0.1398, allocations: 0.6846 MB / 0.6661 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.023e-05/0.1398, allocations: 7.984 kB / 0.6661 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.553e-05/0.1398, allocations: 11.44 kB / 0.6661 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.1399, allocations: 96 / 0.6661 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02061/0.1605, allocations: 1.766 MB / 0.6678 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.899/8.06, allocations: 6.359 kB / 0.6678 GB, free: 1.613 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)