Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.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.ConvertTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",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.004565/0.004565, allocations: 96.7 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.001275/0.001276, allocations: 194.8 kB / 16.67 MB, free: 5.973 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.369/1.369, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00249/0.00249, allocations: 275.1 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.052/1.052, allocations: 178.6 MB / 0.5074 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002664/0.002664, allocations: 100.5 kB / 0.6943 GB, free: 3.605 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4286/0.4313, allocations: 89.15 MB / 0.7814 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002629/0.434, allocations: 1.457 MB / 0.7828 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004312/0.4344, allocations: 189.1 kB / 0.783 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.72e-05/0.4345, allocations: 2 kB / 0.783 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.641e-05/0.4345, allocations: 5.344 kB / 0.783 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002146/0.4347, allocations: 19.36 kB / 0.783 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001882/0.4349, allocations: 57 kB / 0.783 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001088/0.435, allocations: 61.03 kB / 0.7831 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.831e-05/0.4351, allocations: 5.5 kB / 0.7831 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.281e-05/0.4352, allocations: 26.2 kB / 0.7831 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.731e-05/0.4353, allocations: 23.77 kB / 0.7832 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.269e-05/0.4353, allocations: 4.875 kB / 0.7832 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.564e-05/0.4353, allocations: 4.719 kB / 0.7832 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.902e-05/0.4354, allocations: 12.48 kB / 0.7832 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.267e-05/0.4354, allocations: 22.44 kB / 0.7832 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000111/0.4355, allocations: 53.08 kB / 0.7832 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.4355, allocations: 0 / 0.7832 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of FrontEnd: time 4.629e-06/0.4356, allocations: 0 / 0.7832 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.4356, allocations: 9.594 kB / 0.7833 GB, free: 12.81 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.0005538/0.4361, allocations: 352.3 kB / 0.7836 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.4362, allocations: 10.22 kB / 0.7836 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.772e-05/0.4362, allocations: 32.11 kB / 0.7836 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.177e-05/0.4363, allocations: 8.109 kB / 0.7836 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.4364, allocations: 168.8 kB / 0.7838 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.4364, allocations: 6 kB / 0.7838 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.826e-06/0.4365, allocations: 2.688 kB / 0.7838 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.4366, allocations: 74.59 kB / 0.7839 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.4366, allocations: 3.938 kB / 0.7839 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.4367, allocations: 1.062 kB / 0.7839 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.4367, allocations: 1.281 kB / 0.7839 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.868e-05/0.4367, allocations: 19.75 kB / 0.7839 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003847/0.4371, allocations: 280.1 kB / 0.7842 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.939e-05/0.4372, allocations: 37.05 kB / 0.7842 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.615e-05/0.4373, allocations: 17.12 kB / 0.7842 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.695e-06/0.4373, allocations: 1.469 kB / 0.7842 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001546/0.4374, allocations: 62.38 kB / 0.7843 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.393e-06/0.4375, allocations: 4 kB / 0.7843 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0002124/0.4377, allocations: 74.27 kB / 0.7844 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.528e-05/0.4378, allocations: 104.4 kB / 0.7845 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.109e-05/0.4379, allocations: 107.4 kB / 0.7846 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.72e-05/0.4379, allocations: 27.41 kB / 0.7846 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.648e-05/0.438, allocations: 94.84 kB / 0.7847 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.73e-05/0.438, allocations: 6.344 kB / 0.7847 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.664e-05/0.438, allocations: 23.16 kB / 0.7847 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.4382, allocations: 325 kB / 0.785 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.041e-05/0.4382, allocations: 6.328 kB / 0.785 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.077e-05/0.4383, allocations: 35.95 kB / 0.7851 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.628e-05/0.4384, allocations: 29.25 kB / 0.7851 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.4384, allocations: 0 / 0.7851 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001119/0.4385, allocations: 55.84 kB / 0.7851 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.4385, allocations: 6.375 kB / 0.7851 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.4385, allocations: 0 / 0.7851 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.4385, allocations: 9.344 kB / 0.7852 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.902e-05/0.4386, allocations: 11.28 kB / 0.7852 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.4386, allocations: 0 / 0.7852 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.4388, allocations: 15.95 kB / 0.7852 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.4388, allocations: 3.094 kB / 0.7852 GB, free: 10.87 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 0.0001014/0.4389, allocations: 113.1 kB / 0.7853 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.35e-05/0.4389, allocations: 7.531 kB / 0.7853 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.197e-05/0.4389, allocations: 12.03 kB / 0.7853 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.439, allocations: 1.281 kB / 0.7853 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.439, allocations: 4 kB / 0.7853 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.439, allocations: 1.859 kB / 0.7853 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001792/0.4392, allocations: 175.1 kB / 0.7855 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.4392, allocations: 2.281 kB / 0.7855 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.299e-05/0.4392, allocations: 2.406 kB / 0.7855 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.4392, allocations: 1.5 kB / 0.7855 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.809e-06/0.4392, allocations: 1.922 kB / 0.7855 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.4392, allocations: 4 kB / 0.7855 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.4392, allocations: 1.562 kB / 0.7855 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001708/0.4394, allocations: 96.45 kB / 0.7856 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.052e-05/0.4395, allocations: 83.03 kB / 0.7857 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.705e-05/0.4395, allocations: 6.062 kB / 0.7857 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.4396, allocations: 9.312 kB / 0.7857 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.4e-05/0.4397, allocations: 4.672 kB / 0.7857 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.4397, allocations: 1.219 kB / 0.7857 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.921e-05/0.4398, allocations: 90.69 kB / 0.7858 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.81e-07/0.4398, allocations: 0 / 0.7858 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002007/0.44, allocations: 14.31 kB / 0.7858 GB, free: 10.26 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.0005377/0.4405, allocations: 0.6253 MB / 0.7864 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001385/0.4407, allocations: 33.53 kB / 0.7864 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.4407, allocations: 1.469 kB / 0.7864 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.645e-05/0.4407, allocations: 13.94 kB / 0.7864 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001605/0.4409, allocations: 7.984 kB / 0.7865 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001313/0.4422, allocations: 1.175 MB / 0.7876 GB, free: 8.488 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003599/0.4426, allocations: 0.6793 MB / 0.7883 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.394e-05/0.4427, allocations: 6.234 kB / 0.7883 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.443e-05/0.4427, allocations: 19.78 kB / 0.7883 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of SimCode: time 2.61e-07/0.4427, allocations: 0 / 0.7883 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02198/0.4647, allocations: 1.782 MB / 0.79 GB, free: 7.402 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.55/8.015, allocations: 10.12 kB / 0.79 GB, free: 7.398 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.csv --start-time 0 --stop-time 7.776e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 31104 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1)