Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,fileNamePrefix="IDEAS_dev_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.004465/0.004465, allocations: 99.47 kB / 15.73 MB, free: 5.988 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.00127/0.00127, allocations: 193.9 kB / 16.67 MB, free: 5.918 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.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8493/0.8493, allocations: 135.6 MB / 426.1 MB, free: 3.672 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 67.64 kB / 0.5858 GB, free: 21.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1377, allocations: 81.02 MB / 0.6649 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.002476/0.1402, allocations: 1.438 MB / 0.6663 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003956/0.1406, allocations: 183.4 kB / 0.6665 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.313e-05/0.1406, allocations: 0 / 0.6665 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.537e-05/0.1407, allocations: 0 / 0.6665 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001939/0.1409, allocations: 27.34 kB / 0.6665 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001906/0.1411, allocations: 51.86 kB / 0.6665 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.55e-05/0.1412, allocations: 51.91 kB / 0.6666 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.131e-05/0.1412, allocations: 11.94 kB / 0.6666 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.507e-05/0.1413, allocations: 27.91 kB / 0.6666 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.923e-05/0.1414, allocations: 15.92 kB / 0.6666 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.109e-05/0.1414, allocations: 4 kB / 0.6667 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.53e-05/0.1414, allocations: 4 kB / 0.6667 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.868e-05/0.1415, allocations: 15.92 kB / 0.6667 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.311e-05/0.1415, allocations: 23.91 kB / 0.6667 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.284e-05/0.1416, allocations: 40.11 kB / 0.6667 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.1416, allocations: 0 / 0.6667 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1416, allocations: 4 kB / 0.6667 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.207e-06/0.1416, allocations: 0 / 0.6667 GB, free: 3.695 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.0005113/0.1421, allocations: 347.4 kB / 0.6671 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.1422, allocations: 13.11 kB / 0.6671 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.172e-05/0.1422, allocations: 30.75 kB / 0.6671 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.909e-05/0.1423, allocations: 4.938 kB / 0.6671 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.1424, allocations: 168.3 kB / 0.6673 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.1424, allocations: 384 / 0.6673 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.1425, allocations: 8.359 kB / 0.6673 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.1426, allocations: 72.77 kB / 0.6674 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-06/0.1426, allocations: 3.938 kB / 0.6674 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.1426, allocations: 0 / 0.6674 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.1426, allocations: 3.984 kB / 0.6674 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.118e-05/0.1427, allocations: 15.98 kB / 0.6674 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003885/0.1431, allocations: 260.9 kB / 0.6676 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.402e-05/0.1432, allocations: 54.44 kB / 0.6677 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.544e-05/0.1432, allocations: 12.86 kB / 0.6677 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.208e-06/0.1433, allocations: 3.938 kB / 0.6677 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001399/0.1434, allocations: 63.47 kB / 0.6678 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.302e-06/0.1434, allocations: 0 / 0.6678 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001951/0.1436, allocations: 73.62 kB / 0.6678 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.68e-05/0.1437, allocations: 110.8 kB / 0.6679 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.725e-05/0.1438, allocations: 109.8 kB / 0.668 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.1438, allocations: 25.7 kB / 0.6681 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.637e-05/0.1439, allocations: 84.09 kB / 0.6681 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.797e-05/0.1439, allocations: 15.94 kB / 0.6682 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.272e-05/0.144, allocations: 17.72 kB / 0.6682 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.1441, allocations: 318.8 kB / 0.6685 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.929e-05/0.1441, allocations: 8 kB / 0.6685 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.3e-05/0.1442, allocations: 34.56 kB / 0.6685 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.37e-05/0.1442, allocations: 28.8 kB / 0.6685 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1443, allocations: 0 / 0.6685 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001137/0.1444, allocations: 69.58 kB / 0.6686 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/0.1444, allocations: 7.938 kB / 0.6686 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.1444, allocations: 0 / 0.6686 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/0.1444, allocations: 4 kB / 0.6686 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.835e-05/0.1445, allocations: 4 kB / 0.6686 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.157e-06/0.1445, allocations: 4.031 kB / 0.6686 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/0.1446, allocations: 13.95 kB / 0.6686 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.1446, allocations: 4 kB / 0.6686 GB, free: 1.473 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.331e-05/0.1447, allocations: 121.8 kB / 0.6688 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.304e-05/0.1447, allocations: 0 / 0.6688 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.129e-05/0.1448, allocations: 7.5 kB / 0.6688 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.1448, allocations: 4 kB / 0.6688 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.1448, allocations: 0 / 0.6688 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.1448, allocations: 0 / 0.6688 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000138/0.1449, allocations: 170 kB / 0.6689 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.1449, allocations: 3.984 kB / 0.6689 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.978e-05/0.145, allocations: 4 kB / 0.6689 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.145, allocations: 4 kB / 0.6689 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.145, allocations: 0 / 0.6689 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.145, allocations: 3.938 kB / 0.6689 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.145, allocations: 3.938 kB / 0.669 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001459/0.1452, allocations: 97 kB / 0.669 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.157e-05/0.1452, allocations: 85.11 kB / 0.6691 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.361e-05/0.1453, allocations: 7.984 kB / 0.6691 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.1454, allocations: 4 kB / 0.6691 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.623e-05/0.1454, allocations: 3.984 kB / 0.6691 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.1454, allocations: 4.234 kB / 0.6691 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.857e-05/0.1455, allocations: 87.27 kB / 0.6692 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1455, allocations: 0 / 0.6692 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001905/0.1457, allocations: 8 kB / 0.6692 GB, free: 0.7617 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.0004617/0.1461, allocations: 0.6397 MB / 0.6699 GB, free: 92 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001076/0.1463, allocations: 27.98 kB / 0.6699 GB, free: 64 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1463, allocations: 4 kB / 0.6699 GB, free: 60 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.244e-05/0.1463, allocations: 15.94 kB / 0.6699 GB, free: 44 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001451/0.1465, allocations: 8.938 kB / 0.6699 GB, free: 36 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.1476, allocations: 1.172 MB / 0.6711 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/0.1479, allocations: 0.6846 MB / 0.6717 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.705e-05/0.1479, allocations: 7.984 kB / 0.6717 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.663e-05/0.148, allocations: 11.44 kB / 0.6717 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of SimCode: time 2.1e-07/0.148, allocations: 0 / 0.6717 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02176/0.1698, allocations: 1.772 MB / 0.6735 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.89/8.06, allocations: 5.359 kB / 0.6735 GB, free: 12.43 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1)