Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.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.ConvertTimeNegativeStart,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart",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.004239/0.004239, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.001246/0.001246, allocations: 192.4 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.46/1.46, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8345/0.8345, allocations: 132.2 MB / 422.7 MB, free: 6.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 63.17 kB / 0.5809 GB, free: 24.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.13, allocations: 80.2 MB / 0.6592 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.00248/0.1325, allocations: 1.451 MB / 0.6606 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000404/0.1329, allocations: 183.4 kB / 0.6608 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.382e-05/0.133, allocations: 4 kB / 0.6608 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.51e-05/0.133, allocations: 0 / 0.6608 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001946/0.1332, allocations: 27.84 kB / 0.6608 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001811/0.1334, allocations: 51.92 kB / 0.6609 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.956e-05/0.1335, allocations: 51.84 kB / 0.6609 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.027e-05/0.1336, allocations: 0 / 0.6609 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.637e-05/0.1337, allocations: 23.92 kB / 0.661 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.373e-05/0.1337, allocations: 23.91 kB / 0.661 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.485e-05/0.1338, allocations: 8 kB / 0.661 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.361e-05/0.1338, allocations: 0 / 0.661 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.591e-05/0.1338, allocations: 11.98 kB / 0.661 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.534e-05/0.1339, allocations: 27.86 kB / 0.661 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.354e-05/0.134, allocations: 40.09 kB / 0.6611 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.134, allocations: 4 kB / 0.6611 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.134, allocations: 0 / 0.6611 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.134, allocations: 0 / 0.6611 GB, free: 8.871 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.0005299/0.1345, allocations: 347.4 kB / 0.6614 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.1346, allocations: 12.03 kB / 0.6614 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.11e-05/0.1346, allocations: 34.75 kB / 0.6614 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.802e-05/0.1347, allocations: 4.938 kB / 0.6614 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.1348, allocations: 168.3 kB / 0.6616 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.1348, allocations: 384 / 0.6616 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.838e-06/0.1348, allocations: 4.359 kB / 0.6616 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/0.135, allocations: 68.77 kB / 0.6617 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.135, allocations: 3.938 kB / 0.6617 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.135, allocations: 4 kB / 0.6617 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.135, allocations: 0 / 0.6617 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.968e-05/0.1351, allocations: 15.98 kB / 0.6617 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004008/0.1355, allocations: 264.9 kB / 0.662 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.77e-05/0.1356, allocations: 46.44 kB / 0.662 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.087e-05/0.1357, allocations: 20.84 kB / 0.662 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.053e-05/0.1357, allocations: 4.094 kB / 0.662 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001454/0.1358, allocations: 67.36 kB / 0.6621 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.422e-06/0.1358, allocations: 0 / 0.6621 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0002153/0.1361, allocations: 73.64 kB / 0.6622 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.518e-05/0.1361, allocations: 110.7 kB / 0.6623 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.347e-05/0.1362, allocations: 105.8 kB / 0.6624 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.1363, allocations: 29.7 kB / 0.6624 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.082e-05/0.1363, allocations: 84.14 kB / 0.6625 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.001e-05/0.1364, allocations: 11.94 kB / 0.6625 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.696e-05/0.1364, allocations: 21.72 kB / 0.6625 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.1366, allocations: 314.8 kB / 0.6628 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.246e-05/0.1366, allocations: 12 kB / 0.6628 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.526e-05/0.1367, allocations: 34.56 kB / 0.6628 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.935e-05/0.1367, allocations: 33.17 kB / 0.6629 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1367, allocations: 4.031 kB / 0.6629 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001091/0.1368, allocations: 65.58 kB / 0.6629 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.1369, allocations: 4 kB / 0.663 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.1369, allocations: 0 / 0.663 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.1369, allocations: 0 / 0.663 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.202e-05/0.137, allocations: 4 kB / 0.663 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.137, allocations: 4 kB / 0.663 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/0.1371, allocations: 11.92 kB / 0.663 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/0.1371, allocations: 0 / 0.663 GB, free: 6.652 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.0001063/0.1372, allocations: 126.6 kB / 0.6631 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.56e-05/0.1372, allocations: 4 kB / 0.6631 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.421e-05/0.1373, allocations: 7.5 kB / 0.6631 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.1373, allocations: 0 / 0.6631 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.1373, allocations: 0 / 0.6631 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.1373, allocations: 0 / 0.6631 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000147/0.1374, allocations: 169.6 kB / 0.6633 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1374, allocations: 0 / 0.6633 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.415e-05/0.1375, allocations: 4 kB / 0.6633 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1375, allocations: 0 / 0.6633 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.1375, allocations: 4 kB / 0.6633 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.1375, allocations: 0 / 0.6633 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.1375, allocations: 7.938 kB / 0.6633 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001437/0.1377, allocations: 93 kB / 0.6634 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.175e-05/0.1377, allocations: 89.09 kB / 0.6635 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.169e-05/0.1378, allocations: 0 / 0.6635 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.1379, allocations: 15.86 kB / 0.6635 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.7e-05/0.1379, allocations: 4 kB / 0.6635 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.1379, allocations: 8.062 kB / 0.6635 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.504e-05/0.138, allocations: 91.27 kB / 0.6636 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.138, allocations: 0 / 0.6636 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001985/0.1382, allocations: 12 kB / 0.6636 GB, free: 5.926 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.0004768/0.1387, allocations: 0.6282 MB / 0.6642 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001275/0.1388, allocations: 40.02 kB / 0.6642 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1388, allocations: 0 / 0.6642 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.219e-05/0.1389, allocations: 15.94 kB / 0.6642 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001466/0.139, allocations: 9.562 kB / 0.6643 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.1402, allocations: 1.164 MB / 0.6654 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/0.1405, allocations: 0.6784 MB / 0.6661 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.681e-05/0.1405, allocations: 7.984 kB / 0.6661 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.905e-05/0.1406, allocations: 15.44 kB / 0.6661 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of SimCode: time 2.8e-07/0.1406, allocations: 4 kB / 0.6661 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02216/0.1628, allocations: 1.753 MB / 0.6678 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.663/7.826, allocations: 18.45 kB / 0.6678 GB, free: 1.641 MB / 0.4981 GB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.csv --start-time -3.1536e+07 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 25228.8 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1)