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.006502/0.006502, allocations: 104.6 kB / 15.74 MB, free: 6.039 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.001125/0.001125, allocations: 196 kB / 16.68 MB, free: 5.957 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.286/1.286, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002152/0.002152, allocations: 300.9 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8923/0.8923, allocations: 169.3 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 87.86 kB / 0.681 GB, free: 7.453 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4524/0.4543, allocations: 86.99 MB / 0.7659 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002766/0.4571, allocations: 1.452 MB / 0.7673 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.000471/0.4576, allocations: 195.3 kB / 0.7675 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.471e-05/0.4577, allocations: 0 / 0.7675 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.799e-05/0.4577, allocations: 3.938 kB / 0.7675 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002359/0.458, allocations: 27.84 kB / 0.7675 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001987/0.4582, allocations: 55.92 kB / 0.7676 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.4583, allocations: 51.84 kB / 0.7676 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.577e-05/0.4584, allocations: 11.98 kB / 0.7677 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.074e-05/0.4585, allocations: 27.91 kB / 0.7677 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.134e-05/0.4586, allocations: 19.92 kB / 0.7677 GB, free: 2 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.18e-05/0.4586, allocations: 4 kB / 0.7677 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.426e-05/0.4586, allocations: 4 kB / 0.7677 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.58e-05/0.4587, allocations: 11.92 kB / 0.7677 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.151e-05/0.4587, allocations: 27.86 kB / 0.7677 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001031/0.4588, allocations: 43.88 kB / 0.7678 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.4588, allocations: 4 kB / 0.7678 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.667e-06/0.4589, allocations: 3.984 kB / 0.7678 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.4589, allocations: 0 / 0.7678 GB, free: 1.902 MB / 0.5294 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.0005673/0.4594, allocations: 351.3 kB / 0.7681 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.4595, allocations: 8.031 kB / 0.7681 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.12e-05/0.4595, allocations: 34.75 kB / 0.7682 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.298e-05/0.4596, allocations: 4.844 kB / 0.7682 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.4597, allocations: 180.3 kB / 0.7683 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.4597, allocations: 4.375 kB / 0.7684 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.008e-05/0.4598, allocations: 4.375 kB / 0.7684 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.4599, allocations: 74.56 kB / 0.7684 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.4599, allocations: 7.938 kB / 0.7684 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.4599, allocations: 4 kB / 0.7684 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.46, allocations: 0 / 0.7684 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.388e-05/0.46, allocations: 15.98 kB / 0.7685 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003646/0.4604, allocations: 276.9 kB / 0.7687 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.762e-05/0.4605, allocations: 38.5 kB / 0.7688 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.273e-05/0.4605, allocations: 16.86 kB / 0.7688 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.107e-05/0.4605, allocations: 3.984 kB / 0.7688 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001348/0.4607, allocations: 67.39 kB / 0.7688 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.4607, allocations: 4 kB / 0.7688 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0002003/0.4609, allocations: 73.61 kB / 0.7689 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.947e-05/0.461, allocations: 106.8 kB / 0.769 GB, free: 448 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.684e-05/0.4611, allocations: 105.8 kB / 0.7691 GB, free: 332 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.4611, allocations: 29.7 kB / 0.7691 GB, free: 296 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.306e-05/0.4611, allocations: 80.14 kB / 0.7692 GB, free: 212 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/0.4612, allocations: 15.8 kB / 0.7692 GB, free: 196 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.791e-05/0.4612, allocations: 17.72 kB / 0.7693 GB, free: 172 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.4613, allocations: 330.8 kB / 0.7696 GB, free: 15.84 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.69e-05/0.4614, allocations: 8 kB / 0.7696 GB, free: 15.83 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.404e-05/0.4614, allocations: 30.56 kB / 0.7696 GB, free: 15.79 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.736e-05/0.4615, allocations: 24.86 kB / 0.7696 GB, free: 15.76 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4615, allocations: 0 / 0.7696 GB, free: 15.76 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.433e-05/0.4616, allocations: 66 kB / 0.7697 GB, free: 15.69 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.4616, allocations: 4 kB / 0.7697 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.4616, allocations: 0 / 0.7697 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.4616, allocations: 4.031 kB / 0.7697 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.795e-05/0.4617, allocations: 19.94 kB / 0.7697 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.4617, allocations: 0 / 0.7697 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.4618, allocations: 7.984 kB / 0.7697 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.427e-06/0.4618, allocations: 4 kB / 0.7697 GB, free: 15.65 MB / 0.545 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 8.888e-05/0.4619, allocations: 124.2 kB / 0.7698 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.509e-05/0.462, allocations: 3.906 kB / 0.7699 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.794e-05/0.462, allocations: 3.5 kB / 0.7699 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.462, allocations: 4 kB / 0.7699 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.462, allocations: 4 kB / 0.7699 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.462, allocations: 0 / 0.7699 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001289/0.4621, allocations: 177.5 kB / 0.77 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.4621, allocations: 0 / 0.77 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.355e-05/0.4622, allocations: 7.938 kB / 0.77 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.4622, allocations: 0 / 0.77 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.4622, allocations: 0 / 0.77 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.4622, allocations: 0 / 0.77 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.4622, allocations: 0 / 0.77 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001246/0.4623, allocations: 97.05 kB / 0.7701 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.264e-05/0.4624, allocations: 85.09 kB / 0.7702 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/0.4624, allocations: 4 kB / 0.7702 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.4625, allocations: 7.984 kB / 0.7702 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.051e-05/0.4626, allocations: 4 kB / 0.7702 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.358e-06/0.4626, allocations: 0 / 0.7702 GB, free: 15.05 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.58e-05/0.4626, allocations: 87.27 kB / 0.7703 GB, free: 14.96 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4626, allocations: 0 / 0.7703 GB, free: 14.96 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001839/0.4628, allocations: 16 kB / 0.7703 GB, free: 14.95 MB / 0.545 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.0004527/0.4633, allocations: 0.632 MB / 0.7709 GB, free: 14.28 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001224/0.4634, allocations: 36.02 kB / 0.771 GB, free: 14.25 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.4634, allocations: 0 / 0.771 GB, free: 14.25 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.109e-05/0.4635, allocations: 15.94 kB / 0.771 GB, free: 14.23 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001553/0.4636, allocations: 10.66 kB / 0.771 GB, free: 14.22 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/0.4647, allocations: 1.177 MB / 0.7722 GB, free: 12.96 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/0.465, allocations: 0.6807 MB / 0.7728 GB, free: 12.25 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.557e-05/0.465, allocations: 4 kB / 0.7728 GB, free: 12.25 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.649e-05/0.4651, allocations: 7.438 kB / 0.7728 GB, free: 12.24 MB / 0.545 GB Notification: Performance of SimCode: time 2.21e-07/0.4651, allocations: 3.938 kB / 0.7728 GB, free: 12.24 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01797/0.4831, allocations: 1.807 MB / 0.7746 GB, free: 10.59 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.387/7.87, allocations: 14.09 kB / 0.7746 GB, free: 10.59 MB / 0.545 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime_fmu --startTime=0 --stopTime=7.776e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1)