Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.ConvertTimePositiveStart,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="BuildingSystems_BuildingSystems_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.004441/0.004441, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001155/0.001155, allocations: 201.8 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.204/1.204, 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.001972/0.001972, allocations: 286.7 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8688/0.8688, allocations: 169.3 MB / 0.4983 GB, free: 13.84 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 92.38 kB / 0.681 GB, free: 15.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1307, allocations: 86.97 MB / 0.7659 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002195/0.133, allocations: 1.455 MB / 0.7674 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003473/0.1333, allocations: 187.4 kB / 0.7675 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.05e-05/0.1334, allocations: 0 / 0.7675 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.563e-05/0.1334, allocations: 7.922 kB / 0.7675 GB, free: 7.277 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001792/0.1336, allocations: 23.86 kB / 0.7676 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001699/0.1338, allocations: 59.28 kB / 0.7676 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.93e-05/0.1339, allocations: 51.84 kB / 0.7677 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 6.782e-05/0.1339, allocations: 12.28 kB / 0.7677 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.06e-05/0.134, allocations: 23.92 kB / 0.7677 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.276e-05/0.1341, allocations: 23.91 kB / 0.7677 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.1341, allocations: 7.938 kB / 0.7677 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.093e-05/0.1341, allocations: 4 kB / 0.7677 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.296e-05/0.1341, allocations: 11.92 kB / 0.7677 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.021e-05/0.1342, allocations: 27.86 kB / 0.7678 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 8.338e-05/0.1343, allocations: 47.8 kB / 0.7678 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.1343, allocations: 4 kB / 0.7678 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.91e-07/0.1343, allocations: 0 / 0.7678 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.1343, allocations: 4 kB / 0.7678 GB, free: 6.984 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.0004358/0.1347, allocations: 347.4 kB / 0.7682 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.078e-05/0.1348, allocations: 12.61 kB / 0.7682 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.06e-05/0.1348, allocations: 38.75 kB / 0.7682 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.809e-05/0.1348, allocations: 4.891 kB / 0.7682 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.1349, allocations: 172.3 kB / 0.7684 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.135, allocations: 384 / 0.7684 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.044e-05/0.135, allocations: 4.375 kB / 0.7684 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.1351, allocations: 84.75 kB / 0.7685 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.1351, allocations: 3.938 kB / 0.7685 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.1351, allocations: 0 / 0.7685 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-06/0.1351, allocations: 0 / 0.7685 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.135e-05/0.1352, allocations: 15.98 kB / 0.7685 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002981/0.1355, allocations: 280.8 kB / 0.7687 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.089e-05/0.1356, allocations: 42.52 kB / 0.7688 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.918e-05/0.1356, allocations: 16.94 kB / 0.7688 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.093e-06/0.1356, allocations: 0 / 0.7688 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001212/0.1358, allocations: 63.39 kB / 0.7689 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.1358, allocations: 0 / 0.7689 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.000175/0.1359, allocations: 73.8 kB / 0.7689 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.621e-05/0.136, allocations: 106.8 kB / 0.769 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.812e-05/0.1361, allocations: 105.9 kB / 0.7691 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.1361, allocations: 29.7 kB / 0.7692 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.692e-05/0.1361, allocations: 92.02 kB / 0.7693 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.669e-05/0.1362, allocations: 11.95 kB / 0.7693 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.553e-05/0.1362, allocations: 17.7 kB / 0.7693 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.209e-05/0.1363, allocations: 322.8 kB / 0.7696 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.573e-05/0.1363, allocations: 8 kB / 0.7696 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.688e-05/0.1364, allocations: 38.55 kB / 0.7696 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.531e-05/0.1364, allocations: 24.86 kB / 0.7697 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.1364, allocations: 0 / 0.7697 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.369e-05/0.1365, allocations: 66.06 kB / 0.7697 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.127e-06/0.1366, allocations: 4 kB / 0.7697 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.1366, allocations: 0 / 0.7697 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.1366, allocations: 7.938 kB / 0.7697 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.749e-05/0.1366, allocations: 11.98 kB / 0.7697 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.316e-06/0.1366, allocations: 0 / 0.7697 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/0.1368, allocations: 19.91 kB / 0.7698 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.1368, allocations: 4 kB / 0.7698 GB, free: 4.727 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 6.954e-05/0.1369, allocations: 118.4 kB / 0.7699 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.401e-05/0.1369, allocations: 0 / 0.7699 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.432e-05/0.1369, allocations: 3.5 kB / 0.7699 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1369, allocations: 4 kB / 0.7699 GB, free: 4.594 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.1369, allocations: 0 / 0.7699 GB, free: 4.594 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.1369, allocations: 0 / 0.7699 GB, free: 4.594 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001121/0.137, allocations: 173.6 kB / 0.7701 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.137, allocations: 4 kB / 0.7701 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.397e-05/0.1371, allocations: 7.938 kB / 0.7701 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.1371, allocations: 0 / 0.7701 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.1371, allocations: 0 / 0.7701 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1371, allocations: 0 / 0.7701 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1371, allocations: 0 / 0.7701 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001238/0.1372, allocations: 97 kB / 0.7702 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.853e-05/0.1373, allocations: 85.09 kB / 0.7702 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/0.1373, allocations: 4 kB / 0.7702 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.1374, allocations: 11.98 kB / 0.7703 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.67e-05/0.1374, allocations: 4 kB / 0.7703 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.956e-06/0.1375, allocations: 3.984 kB / 0.7703 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.427e-05/0.1375, allocations: 83.28 kB / 0.7703 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1375, allocations: 3.938 kB / 0.7703 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001861/0.1377, allocations: 12 kB / 0.7704 GB, free: 4.027 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.0003403/0.138, allocations: 0.6358 MB / 0.771 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001/0.1382, allocations: 27.98 kB / 0.771 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.1382, allocations: 0 / 0.771 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.883e-05/0.1382, allocations: 19.94 kB / 0.771 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000135/0.1383, allocations: 10.11 kB / 0.771 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008815/0.1392, allocations: 1.185 MB / 0.7722 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001914/0.1394, allocations: 0.6768 MB / 0.7728 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.071e-05/0.1395, allocations: 8.281 kB / 0.7729 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.292e-05/0.1395, allocations: 21.25 kB / 0.7729 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of SimCode: time 2.4e-07/0.1395, allocations: 0 / 0.7729 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2568/0.3963, allocations: 1.788 MB / 0.7746 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.573/6.97, allocations: 13.16 kB / 0.7746 GB, free: 14.44 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1)