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.0012/0.0012, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001419/0.001419, allocations: 194.5 kB / 16.14 MB, free: 6.668 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.279/1.279, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001929/0.001929, allocations: 282.6 kB / 290.2 MB, free: 2.207 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8792/0.8792, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001679/0.001679, allocations: 99.98 kB / 0.5946 GB, free: 28.58 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1584, allocations: 86.98 MB / 0.6795 GB, free: 1.098 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002298/0.1607, allocations: 1.514 MB / 0.681 GB, free: 15.58 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003346/0.1611, allocations: 190.3 kB / 0.6812 GB, free: 15.4 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.115e-05/0.1611, allocations: 0 / 0.6812 GB, free: 15.4 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.573e-05/0.1612, allocations: 0 / 0.6812 GB, free: 15.4 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001817/0.1614, allocations: 23.91 kB / 0.6812 GB, free: 15.38 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001523/0.1615, allocations: 48.78 kB / 0.6813 GB, free: 15.33 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.137e-05/0.1616, allocations: 51.84 kB / 0.6813 GB, free: 15.28 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.229e-05/0.1617, allocations: 15.88 kB / 0.6813 GB, free: 15.27 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.45e-05/0.1617, allocations: 19.98 kB / 0.6814 GB, free: 15.25 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.331e-05/0.1618, allocations: 20.59 kB / 0.6814 GB, free: 15.23 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.945e-05/0.1618, allocations: 4 kB / 0.6814 GB, free: 15.22 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.592e-05/0.1618, allocations: 9.656 kB / 0.6814 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.24e-05/0.1619, allocations: 7.922 kB / 0.6814 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.572e-05/0.1619, allocations: 23.92 kB / 0.6814 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.699e-05/0.162, allocations: 47.86 kB / 0.6815 GB, free: 15.14 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.162, allocations: 0 / 0.6815 GB, free: 15.14 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.21e-07/0.162, allocations: 0.875 kB / 0.6815 GB, free: 15.14 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.826e-06/0.162, allocations: 0 / 0.6815 GB, free: 15.14 MB / 494.1 MB 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.0004482/0.1625, allocations: 350.3 kB / 0.6818 GB, free: 14.75 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.1625, allocations: 8.031 kB / 0.6818 GB, free: 14.74 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.599e-05/0.1626, allocations: 43.98 kB / 0.6819 GB, free: 14.69 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.839e-05/0.1626, allocations: 0.9375 kB / 0.6819 GB, free: 14.69 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.1627, allocations: 168.3 kB / 0.682 GB, free: 14.48 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.1627, allocations: 1.188 kB / 0.682 GB, free: 14.48 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/0.1628, allocations: 4.375 kB / 0.682 GB, free: 14.48 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/0.1629, allocations: 80.75 kB / 0.6821 GB, free: 14.39 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.1629, allocations: 3.938 kB / 0.6821 GB, free: 14.38 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.1629, allocations: 4 kB / 0.6821 GB, free: 14.38 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.1629, allocations: 0 / 0.6821 GB, free: 14.38 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.243e-05/0.163, allocations: 15.98 kB / 0.6821 GB, free: 14.36 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003187/0.1633, allocations: 276.9 kB / 0.6824 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.566e-05/0.1634, allocations: 38.52 kB / 0.6824 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.108e-05/0.1635, allocations: 20.94 kB / 0.6824 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.755e-06/0.1635, allocations: 0 / 0.6824 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001296/0.1636, allocations: 63.38 kB / 0.6825 GB, free: 13.9 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.193e-06/0.1636, allocations: 0 / 0.6825 GB, free: 13.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001856/0.1638, allocations: 81.7 kB / 0.6826 GB, free: 13.81 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.197e-05/0.1639, allocations: 114.8 kB / 0.6827 GB, free: 13.68 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.808e-05/0.164, allocations: 101.9 kB / 0.6828 GB, free: 13.57 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.164, allocations: 25.7 kB / 0.6828 GB, free: 13.54 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.64e-05/0.164, allocations: 92 kB / 0.6829 GB, free: 13.44 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.1641, allocations: 11.91 kB / 0.6829 GB, free: 13.43 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.944e-05/0.1641, allocations: 25.64 kB / 0.6829 GB, free: 13.4 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.304e-05/0.1642, allocations: 314.8 kB / 0.6832 GB, free: 13.08 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.998e-05/0.1642, allocations: 16 kB / 0.6832 GB, free: 13.07 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.615e-05/0.1643, allocations: 34.81 kB / 0.6833 GB, free: 13.02 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.665e-05/0.1644, allocations: 24.86 kB / 0.6833 GB, free: 13 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.1644, allocations: 0 / 0.6833 GB, free: 13 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.843e-05/0.1645, allocations: 69.53 kB / 0.6834 GB, free: 12.92 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.1645, allocations: 4 kB / 0.6834 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.026e-06/0.1645, allocations: 0 / 0.6834 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.115e-06/0.1645, allocations: 0 / 0.6834 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.36e-05/0.1646, allocations: 12.02 kB / 0.6834 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.1646, allocations: 4 kB / 0.6834 GB, free: 12.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/0.1647, allocations: 7.984 kB / 0.6834 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.1647, allocations: 0 / 0.6834 GB, free: 12.89 MB / 494.1 MB 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.887e-05/0.1648, allocations: 119.1 kB / 0.6835 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.738e-05/0.1648, allocations: 4 kB / 0.6835 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.792e-05/0.1648, allocations: 7.5 kB / 0.6835 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.1649, allocations: 0 / 0.6835 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.1649, allocations: 4 kB / 0.6835 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-06/0.1649, allocations: 4 kB / 0.6835 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001133/0.165, allocations: 169.6 kB / 0.6837 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.165, allocations: 0 / 0.6837 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.458e-05/0.165, allocations: 7.938 kB / 0.6837 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.165, allocations: 0 / 0.6837 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.966e-06/0.165, allocations: 4 kB / 0.6837 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.165, allocations: 0 / 0.6837 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.1651, allocations: 0 / 0.6837 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001242/0.1652, allocations: 96.95 kB / 0.6838 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.675e-05/0.1652, allocations: 85.28 kB / 0.6839 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.315e-05/0.1653, allocations: 8 kB / 0.6839 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.1654, allocations: 7.984 kB / 0.6839 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.634e-05/0.1654, allocations: 0 / 0.6839 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/0.1654, allocations: 7.984 kB / 0.6839 GB, free: 12.28 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.884e-05/0.1655, allocations: 87.22 kB / 0.684 GB, free: 12.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1655, allocations: 0 / 0.684 GB, free: 12.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001904/0.1657, allocations: 16 kB / 0.684 GB, free: 12.18 MB / 494.1 MB 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.0003724/0.1661, allocations: 0.6318 MB / 0.6846 GB, free: 11.52 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.703e-05/0.1662, allocations: 31.98 kB / 0.6846 GB, free: 11.48 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1662, allocations: 0 / 0.6846 GB, free: 11.48 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.819e-05/0.1662, allocations: 15.94 kB / 0.6847 GB, free: 11.47 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001425/0.1664, allocations: 11.08 kB / 0.6847 GB, free: 11.46 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009618/0.1673, allocations: 1.182 MB / 0.6858 GB, free: 10.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002213/0.1676, allocations: 0.677 MB / 0.6865 GB, free: 9.492 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.637e-05/0.1676, allocations: 12.27 kB / 0.6865 GB, free: 9.48 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.139e-05/0.1677, allocations: 7.438 kB / 0.6865 GB, free: 9.473 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1677, allocations: 0 / 0.6865 GB, free: 9.473 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02275/0.1904, allocations: 1.614 MB / 0.6881 GB, free: 8.023 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001674/0.1906, allocations: 241.2 kB / 0.6883 GB, free: 7.77 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.594/1.785, allocations: 4 kB / 0.6883 GB, free: 7.766 MB / 494.1 MB (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)