Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,fileNamePrefix="BuildingSystems_BuildingSystems_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.003863/0.003863, allocations: 97.97 kB / 15.73 MB, free: 6.004 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.001033/0.001033, allocations: 192.6 kB / 16.67 MB, free: 5.934 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.189/1.189, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00199/0.00199, allocations: 282.8 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8692/0.8692, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00161/0.00161, allocations: 107.8 kB / 0.681 GB, free: 15.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1295, allocations: 86.97 MB / 0.7659 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.002107/0.1316, allocations: 1.455 MB / 0.7674 GB, free: 7.445 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003564/0.132, allocations: 195.4 kB / 0.7675 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.069e-05/0.132, allocations: 0 / 0.7675 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.546e-05/0.1321, allocations: 3.938 kB / 0.7675 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001766/0.1323, allocations: 15.86 kB / 0.7676 GB, free: 7.234 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001596/0.1324, allocations: 62.91 kB / 0.7676 GB, free: 7.176 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.979e-05/0.1325, allocations: 55.84 kB / 0.7677 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 6.842e-05/0.1326, allocations: 8.266 kB / 0.7677 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.283e-05/0.1326, allocations: 27.92 kB / 0.7677 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.378e-05/0.1327, allocations: 27.84 kB / 0.7677 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.1327, allocations: 4 kB / 0.7677 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.244e-05/0.1327, allocations: 8 kB / 0.7677 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.424e-05/0.1328, allocations: 11.92 kB / 0.7678 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.244e-05/0.1328, allocations: 19.94 kB / 0.7678 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 8.707e-05/0.1329, allocations: 47.8 kB / 0.7678 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1329, allocations: 3.984 kB / 0.7678 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1329, allocations: 0 / 0.7678 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.439e-06/0.1329, allocations: 3.938 kB / 0.7678 GB, free: 6.961 MB / 0.5606 GB 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.00044/0.1334, allocations: 355.4 kB / 0.7682 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.1334, allocations: 8.625 kB / 0.7682 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.154e-05/0.1335, allocations: 30.75 kB / 0.7682 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.951e-05/0.1335, allocations: 8.891 kB / 0.7682 GB, free: 6.508 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.1336, allocations: 172.3 kB / 0.7684 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.1336, allocations: 4.375 kB / 0.7684 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.1336, allocations: 4.375 kB / 0.7684 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.1338, allocations: 76.73 kB / 0.7685 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.1338, allocations: 7.938 kB / 0.7685 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.1338, allocations: 0 / 0.7685 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-06/0.1338, allocations: 4 kB / 0.7685 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.872e-05/0.1339, allocations: 19.98 kB / 0.7685 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002987/0.1342, allocations: 272.8 kB / 0.7687 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 7.843e-05/0.1342, allocations: 38.56 kB / 0.7688 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.264e-05/0.1343, allocations: 20.86 kB / 0.7688 GB, free: 5.785 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.015e-06/0.1343, allocations: 0 / 0.7688 GB, free: 5.785 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001195/0.1344, allocations: 63.48 kB / 0.7689 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.1344, allocations: 0 / 0.7689 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0001879/0.1346, allocations: 73.61 kB / 0.7689 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.989e-05/0.1347, allocations: 102.8 kB / 0.769 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.134e-05/0.1348, allocations: 109.8 kB / 0.7691 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.1348, allocations: 33.64 kB / 0.7692 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.701e-05/0.1348, allocations: 92.09 kB / 0.7693 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.895e-05/0.1348, allocations: 15.92 kB / 0.7693 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.541e-05/0.1349, allocations: 17.72 kB / 0.7693 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.361e-05/0.135, allocations: 318.8 kB / 0.7696 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.716e-05/0.135, allocations: 12 kB / 0.7696 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.528e-05/0.1351, allocations: 34.56 kB / 0.7696 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.717e-05/0.1351, allocations: 32.83 kB / 0.7697 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.1351, allocations: 0 / 0.7697 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.265e-05/0.1352, allocations: 57.69 kB / 0.7697 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.1352, allocations: 4 kB / 0.7697 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.1352, allocations: 0 / 0.7697 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.797e-06/0.1353, allocations: 0 / 0.7697 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.853e-05/0.1353, allocations: 8 kB / 0.7697 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.487e-06/0.1353, allocations: 0 / 0.7697 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.1354, allocations: 19.88 kB / 0.7698 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.1355, allocations: 0 / 0.7698 GB, free: 4.715 MB / 0.5606 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 7.029e-05/0.1355, allocations: 122.4 kB / 0.7699 GB, free: 4.586 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.485e-05/0.1356, allocations: 4 kB / 0.7699 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.618e-05/0.1356, allocations: 11.44 kB / 0.7699 GB, free: 4.57 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.1356, allocations: 0 / 0.7699 GB, free: 4.57 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.1356, allocations: 3.938 kB / 0.7699 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.1356, allocations: 0 / 0.7699 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001071/0.1357, allocations: 177.6 kB / 0.7701 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.1357, allocations: 0 / 0.7701 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.001e-05/0.1357, allocations: 448 / 0.7701 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.1357, allocations: 4 kB / 0.7701 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.1358, allocations: 4 kB / 0.7701 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.1358, allocations: 7.984 kB / 0.7701 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1358, allocations: 0 / 0.7701 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001221/0.1359, allocations: 93.19 kB / 0.7702 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.736e-05/0.136, allocations: 89.12 kB / 0.7702 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/0.136, allocations: 0 / 0.7702 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.1361, allocations: 15.98 kB / 0.7703 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.298e-05/0.1361, allocations: 4 kB / 0.7703 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.1361, allocations: 7.938 kB / 0.7703 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.498e-05/0.1362, allocations: 87.27 kB / 0.7704 GB, free: 4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1362, allocations: 3.938 kB / 0.7704 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001851/0.1364, allocations: 12 kB / 0.7704 GB, free: 3.984 MB / 0.5606 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.0003328/0.1367, allocations: 0.6241 MB / 0.771 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001051/0.1368, allocations: 35.92 kB / 0.771 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1368, allocations: 0 / 0.771 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.595e-05/0.1369, allocations: 12 kB / 0.771 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001376/0.137, allocations: 8 kB / 0.771 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008718/0.1379, allocations: 1.173 MB / 0.7722 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001953/0.1381, allocations: 0.6846 MB / 0.7729 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.188e-05/0.1381, allocations: 4.094 kB / 0.7729 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.08e-05/0.1382, allocations: 19.38 kB / 0.7729 GB, free: 1.281 MB / 0.5606 GB Notification: Performance of SimCode: time 2.11e-07/0.1382, allocations: 0 / 0.7729 GB, free: 1.281 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2642/0.4024, allocations: 1.79 MB / 0.7746 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.57/6.973, allocations: 15.84 kB / 0.7746 GB, free: 14.43 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1)