Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 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.ConvertTimePositiveStart,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="Buildings_8_Buildings_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.001126/0.001126, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001098/0.001099, allocations: 194.6 kB / 16.53 MB, free: 6.391 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.104/1.104, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.488/1.488, allocations: 292.3 MB / 0.5489 GB, free: 12.85 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.001279/0.001279, allocations: 73.58 kB / 0.6716 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1607, allocations: 114.5 MB / 0.7835 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002318/0.163, allocations: 1.44 MB / 0.7849 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003463/0.1634, allocations: 183.4 kB / 0.7851 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.992e-05/0.1634, allocations: 4 kB / 0.7851 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.314e-05/0.1634, allocations: 3.938 kB / 0.7851 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001683/0.1636, allocations: 19.84 kB / 0.7851 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001605/0.1638, allocations: 51.92 kB / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.114e-05/0.1639, allocations: 55.78 kB / 0.7852 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.339e-05/0.1639, allocations: 8 kB / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.399e-05/0.164, allocations: 19.97 kB / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.124e-05/0.1641, allocations: 23.92 kB / 0.7852 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.1641, allocations: 4 kB / 0.7852 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.461e-05/0.1641, allocations: 4 kB / 0.7852 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.113e-05/0.1641, allocations: 7.984 kB / 0.7852 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.824e-05/0.1642, allocations: 19.92 kB / 0.7853 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.616e-05/0.1643, allocations: 44.09 kB / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1643, allocations: 0 / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.103e-06/0.1643, allocations: 0 / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.1643, allocations: 4 kB / 0.7853 GB, free: 11.52 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.0004268/0.1647, allocations: 347.5 kB / 0.7856 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.1647, allocations: 8.031 kB / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.167e-05/0.1648, allocations: 34.69 kB / 0.7857 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.846e-05/0.1648, allocations: 4.938 kB / 0.7857 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.1649, allocations: 172.2 kB / 0.7859 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.165, allocations: 384 / 0.7859 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.606e-06/0.165, allocations: 384 / 0.7859 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000117/0.1651, allocations: 76.75 kB / 0.7859 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.1651, allocations: 3.938 kB / 0.7859 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.1651, allocations: 0 / 0.7859 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.1651, allocations: 4 kB / 0.7859 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.47e-05/0.1652, allocations: 15.92 kB / 0.786 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003309/0.1655, allocations: 264.9 kB / 0.7862 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.812e-05/0.1656, allocations: 50.44 kB / 0.7863 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.14e-05/0.1657, allocations: 16.86 kB / 0.7863 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.47e-06/0.1657, allocations: 0 / 0.7863 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001309/0.1658, allocations: 71.42 kB / 0.7863 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.1658, allocations: 0 / 0.7863 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.000175/0.166, allocations: 73.58 kB / 0.7864 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.811e-05/0.166, allocations: 110.8 kB / 0.7865 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.037e-05/0.1661, allocations: 101.8 kB / 0.7866 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.1661, allocations: 29.7 kB / 0.7866 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.46e-05/0.1662, allocations: 84.14 kB / 0.7867 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.414e-05/0.1662, allocations: 3.906 kB / 0.7867 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.379e-05/0.1662, allocations: 25.7 kB / 0.7867 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.664e-05/0.1663, allocations: 310.8 kB / 0.787 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.811e-05/0.1664, allocations: 19.92 kB / 0.7871 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.485e-05/0.1664, allocations: 38.56 kB / 0.7871 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.589e-05/0.1665, allocations: 28.8 kB / 0.7871 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.1665, allocations: 384 / 0.7871 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.488e-05/0.1666, allocations: 61.88 kB / 0.7872 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.1666, allocations: 4.938 kB / 0.7872 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.1666, allocations: 0 / 0.7872 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.1666, allocations: 3.984 kB / 0.7872 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.637e-05/0.1667, allocations: 11.94 kB / 0.7872 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.1667, allocations: 32 / 0.7872 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.1668, allocations: 19.89 kB / 0.7872 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.1668, allocations: 0 / 0.7872 GB, free: 9.293 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.639e-05/0.1669, allocations: 114.4 kB / 0.7873 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.573e-05/0.1669, allocations: 4 kB / 0.7873 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.842e-05/0.1669, allocations: 11.48 kB / 0.7873 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.1669, allocations: 0 / 0.7873 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.1669, allocations: 3.938 kB / 0.7874 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-06/0.1669, allocations: 0 / 0.7874 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001062/0.1671, allocations: 177.5 kB / 0.7875 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.1671, allocations: 0 / 0.7875 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.281e-05/0.1671, allocations: 7.984 kB / 0.7875 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.1671, allocations: 0 / 0.7875 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-06/0.1671, allocations: 0 / 0.7875 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1671, allocations: 0 / 0.7875 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.1671, allocations: 4 kB / 0.7875 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001175/0.1672, allocations: 89 kB / 0.7876 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.715e-05/0.1673, allocations: 93 kB / 0.7877 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.817e-05/0.1673, allocations: 0 / 0.7877 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.854e-05/0.1674, allocations: 7.984 kB / 0.7877 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.808e-05/0.1675, allocations: 15.92 kB / 0.7877 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.1675, allocations: 0 / 0.7877 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.286e-05/0.1675, allocations: 87.34 kB / 0.7878 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.1675, allocations: 0 / 0.7878 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001761/0.1677, allocations: 12 kB / 0.7878 GB, free: 8.578 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.0003462/0.1681, allocations: 0.6306 MB / 0.7884 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.862e-05/0.1682, allocations: 31.92 kB / 0.7885 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1682, allocations: 0 / 0.7885 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.724e-05/0.1682, allocations: 19.98 kB / 0.7885 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001314/0.1684, allocations: 7.047 kB / 0.7885 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009188/0.1693, allocations: 1.171 MB / 0.7896 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002058/0.1695, allocations: 0.6807 MB / 0.7903 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.763e-05/0.1695, allocations: 4 kB / 0.7903 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.558e-05/0.1696, allocations: 19.42 kB / 0.7903 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.1696, allocations: 0 / 0.7903 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.309/0.4785, allocations: 1.746 MB / 0.792 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.155/7.634, allocations: 10.12 kB / 0.792 GB, free: 4.297 MB / 0.6075 GB (rm -f Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart_fmu --startTime=4.71744e+07 --stopTime=1.26144e+08 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.fmu > Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1)