Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="Buildings_8_Buildings_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.001086/0.001087, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001079/0.001079, allocations: 192.6 kB / 16.14 MB, free: 6.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.117/1.117, allocations: 205.1 MB / 222 MB, free: 4.766 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.438/1.438, allocations: 292.3 MB / 0.5484 GB, free: 13.65 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 74.06 kB / 0.6709 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1523, allocations: 114.6 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.001969/0.1543, allocations: 1.49 MB / 0.7843 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002988/0.1546, allocations: 184.5 kB / 0.7844 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.825e-05/0.1547, allocations: 0 / 0.7844 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.574e-05/0.1547, allocations: 3.984 kB / 0.7844 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001606/0.1549, allocations: 11.92 kB / 0.7845 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001381/0.155, allocations: 54.8 kB / 0.7845 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.025e-05/0.1551, allocations: 47.86 kB / 0.7845 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.459e-05/0.1552, allocations: 11.98 kB / 0.7846 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.966e-05/0.1552, allocations: 19.92 kB / 0.7846 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.302e-05/0.1553, allocations: 15.98 kB / 0.7846 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.1553, allocations: 0 / 0.7846 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.392e-05/0.1553, allocations: 4 kB / 0.7846 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.148e-05/0.1553, allocations: 15.86 kB / 0.7846 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.656e-05/0.1554, allocations: 19.91 kB / 0.7846 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.124e-05/0.1554, allocations: 40.11 kB / 0.7847 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.1554, allocations: 0 / 0.7847 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.32e-07/0.1554, allocations: 4 kB / 0.7847 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.715e-06/0.1555, allocations: 0 / 0.7847 GB, free: 11.98 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003896/0.1558, allocations: 347.5 kB / 0.785 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.91e-05/0.1559, allocations: 8.031 kB / 0.785 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.102e-05/0.1559, allocations: 34.75 kB / 0.785 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.501e-05/0.1559, allocations: 4.875 kB / 0.7851 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.1561, allocations: 180.2 kB / 0.7852 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.818e-06/0.1561, allocations: 384 / 0.7852 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.798e-06/0.1561, allocations: 8.375 kB / 0.7852 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.1562, allocations: 72.73 kB / 0.7853 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.1562, allocations: 7.938 kB / 0.7853 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.1562, allocations: 0 / 0.7853 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.336e-06/0.1562, allocations: 0 / 0.7853 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.111e-05/0.1563, allocations: 12 kB / 0.7853 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000301/0.1566, allocations: 260.9 kB / 0.7856 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.509e-05/0.1567, allocations: 46.52 kB / 0.7856 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.377e-05/0.1567, allocations: 20.88 kB / 0.7856 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.2e-06/0.1567, allocations: 0 / 0.7856 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001238/0.1568, allocations: 63.39 kB / 0.7857 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1569, allocations: 0 / 0.7857 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0001611/0.157, allocations: 77.58 kB / 0.7858 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/0.1571, allocations: 110.8 kB / 0.7859 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.656e-05/0.1571, allocations: 101.9 kB / 0.786 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.1572, allocations: 25.7 kB / 0.786 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.633e-05/0.1572, allocations: 88.12 kB / 0.7861 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.452e-05/0.1572, allocations: 7.906 kB / 0.7861 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.53e-05/0.1573, allocations: 21.7 kB / 0.7861 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.664e-05/0.1573, allocations: 318.8 kB / 0.7864 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.346e-05/0.1574, allocations: 8 kB / 0.7864 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.094e-05/0.1574, allocations: 34.56 kB / 0.7865 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.286e-05/0.1575, allocations: 33.17 kB / 0.7865 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.1575, allocations: 0 / 0.7865 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.665e-05/0.1576, allocations: 61.62 kB / 0.7865 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.936e-06/0.1576, allocations: 7.938 kB / 0.7865 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.875e-06/0.1576, allocations: 0 / 0.7865 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.1576, allocations: 4 kB / 0.7866 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.21e-05/0.1576, allocations: 7.984 kB / 0.7866 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.1577, allocations: 4.031 kB / 0.7866 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.323e-05/0.1578, allocations: 15.89 kB / 0.7866 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.1578, allocations: 4 kB / 0.7866 GB, free: 9.754 MB / 0.6075 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.059e-05/0.1578, allocations: 114.4 kB / 0.7867 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.252e-05/0.1579, allocations: 0 / 0.7867 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.743e-05/0.1579, allocations: 7.5 kB / 0.7867 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1579, allocations: 4 kB / 0.7867 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.1579, allocations: 0 / 0.7867 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.993e-06/0.1579, allocations: 4 kB / 0.7867 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.291e-05/0.158, allocations: 177.5 kB / 0.7869 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.158, allocations: 3.938 kB / 0.7869 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.777e-05/0.158, allocations: 0 / 0.7869 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.838e-06/0.158, allocations: 4 kB / 0.7869 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.158, allocations: 0 / 0.7869 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.158, allocations: 0 / 0.7869 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/0.1581, allocations: 3.984 kB / 0.7869 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001043/0.1582, allocations: 97.16 kB / 0.787 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.233e-05/0.1582, allocations: 93 kB / 0.7871 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.1582, allocations: 0 / 0.7871 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.47e-05/0.1583, allocations: 11.98 kB / 0.7871 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.306e-05/0.1584, allocations: 4 kB / 0.7871 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.1584, allocations: 8.062 kB / 0.7871 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.377e-05/0.1584, allocations: 87.27 kB / 0.7872 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1584, allocations: 0 / 0.7872 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001647/0.1586, allocations: 8 kB / 0.7872 GB, free: 9.039 MB / 0.6075 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.000315/0.1589, allocations: 0.6328 MB / 0.7878 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.47e-05/0.159, allocations: 27.98 kB / 0.7878 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.159, allocations: 0 / 0.7878 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.554e-05/0.159, allocations: 16 kB / 0.7878 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001277/0.1592, allocations: 11.88 kB / 0.7879 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007865/0.16, allocations: 1.17 MB / 0.789 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001632/0.1601, allocations: 0.677 MB / 0.7897 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.425e-05/0.1602, allocations: 11.98 kB / 0.7897 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.897e-05/0.1602, allocations: 11.44 kB / 0.7897 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of SimCode: time 1.9e-07/0.1602, allocations: 0 / 0.7897 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6858/0.846, allocations: 1.585 MB / 0.7912 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002636/0.8463, allocations: 233.2 kB / 0.7915 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.811/2.657, allocations: 0 / 0.7915 GB, free: 4.648 MB / 0.6075 GB (rm -f Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime_fmu --startTime=0 --stopTime=7.776e+07 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1)