Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 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.ConvertTimePositiveStart,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="BuildingSystems_BuildingSystems_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.004725/0.004725, allocations: 98.55 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.001232/0.001232, allocations: 194.3 kB / 16.68 MB, free: 5.969 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.418/1.418, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002485/0.002485, allocations: 274.9 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9897/0.9897, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002703/0.002703, allocations: 91.92 kB / 0.681 GB, free: 15.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1599, allocations: 86.97 MB / 0.7659 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002517/0.1625, allocations: 1.462 MB / 0.7674 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004002/0.1629, allocations: 191.4 kB / 0.7675 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.569e-05/0.163, allocations: 0 / 0.7675 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.69e-05/0.163, allocations: 3.938 kB / 0.7675 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001956/0.1632, allocations: 23.84 kB / 0.7676 GB, free: 7.223 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001871/0.1634, allocations: 55.42 kB / 0.7676 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000106/0.1635, allocations: 63.83 kB / 0.7677 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.722e-05/0.1636, allocations: 4.281 kB / 0.7677 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.491e-05/0.1637, allocations: 23.92 kB / 0.7677 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.472e-05/0.1637, allocations: 23.91 kB / 0.7677 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.993e-05/0.1638, allocations: 4 kB / 0.7677 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.47e-05/0.1638, allocations: 4 kB / 0.7677 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.669e-05/0.1638, allocations: 15.92 kB / 0.7677 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.176e-05/0.1639, allocations: 27.86 kB / 0.7678 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001002/0.164, allocations: 51.8 kB / 0.7678 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.164, allocations: 0 / 0.7678 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.323e-06/0.164, allocations: 0 / 0.7678 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.164, allocations: 0 / 0.7678 GB, free: 6.957 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.0005419/0.1645, allocations: 351.4 kB / 0.7682 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.1646, allocations: 8.625 kB / 0.7682 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.55e-05/0.1646, allocations: 34.75 kB / 0.7682 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.434e-05/0.1647, allocations: 8.891 kB / 0.7682 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.1648, allocations: 180.3 kB / 0.7684 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.1648, allocations: 4.312 kB / 0.7684 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.1649, allocations: 8.375 kB / 0.7684 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.165, allocations: 72.75 kB / 0.7685 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.1651, allocations: 3.938 kB / 0.7685 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.1651, allocations: 0 / 0.7685 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.1651, allocations: 4 kB / 0.7685 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.374e-05/0.1651, allocations: 12 kB / 0.7685 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003829/0.1655, allocations: 280.8 kB / 0.7687 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.7e-05/0.1656, allocations: 42.5 kB / 0.7688 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.455e-05/0.1657, allocations: 16.86 kB / 0.7688 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.658e-06/0.1657, allocations: 0 / 0.7688 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001549/0.1659, allocations: 63.48 kB / 0.7689 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 3.076e-06/0.1659, allocations: 3.984 kB / 0.7689 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0001998/0.1661, allocations: 73.61 kB / 0.7689 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.149e-05/0.1662, allocations: 106.8 kB / 0.769 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.674e-05/0.1663, allocations: 105.8 kB / 0.7691 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.383e-05/0.1663, allocations: 25.7 kB / 0.7692 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.915e-05/0.1663, allocations: 92.03 kB / 0.7693 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.765e-05/0.1664, allocations: 7.953 kB / 0.7693 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.991e-05/0.1664, allocations: 29.7 kB / 0.7693 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.1666, allocations: 314.8 kB / 0.7696 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.09e-05/0.1666, allocations: 11.98 kB / 0.7696 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.961e-05/0.1667, allocations: 30.58 kB / 0.7696 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.228e-05/0.1667, allocations: 32.84 kB / 0.7697 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.1667, allocations: 0 / 0.7697 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001072/0.1669, allocations: 58 kB / 0.7697 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.1669, allocations: 8 kB / 0.7697 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1669, allocations: 4.094 kB / 0.7697 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.1669, allocations: 4 kB / 0.7697 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.16e-05/0.167, allocations: 4 kB / 0.7697 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.167, allocations: 4 kB / 0.7697 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.1671, allocations: 15.88 kB / 0.7698 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-06/0.1671, allocations: 0 / 0.7698 GB, free: 4.707 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.0001056/0.1672, allocations: 118.4 kB / 0.7699 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.708e-05/0.1673, allocations: 4 kB / 0.7699 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.522e-05/0.1673, allocations: 15.48 kB / 0.7699 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-06/0.1673, allocations: 0 / 0.7699 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.287e-06/0.1673, allocations: 0 / 0.7699 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.1673, allocations: 0 / 0.7699 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.1675, allocations: 169.6 kB / 0.77 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1675, allocations: 3.938 kB / 0.7701 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.285e-05/0.1675, allocations: 11.94 kB / 0.7701 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.1675, allocations: 3.984 kB / 0.7701 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.1675, allocations: 4 kB / 0.7701 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1675, allocations: 0 / 0.7701 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1675, allocations: 0 / 0.7701 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001551/0.1677, allocations: 93.02 kB / 0.7702 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.549e-05/0.1678, allocations: 85.09 kB / 0.7702 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/0.1678, allocations: 0 / 0.7702 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.1679, allocations: 11.98 kB / 0.7703 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.997e-05/0.168, allocations: 7.984 kB / 0.7703 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.168, allocations: 4 kB / 0.7703 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.506e-05/0.168, allocations: 83.22 kB / 0.7703 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.168, allocations: 4 kB / 0.7703 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002647/0.1683, allocations: 12 kB / 0.7704 GB, free: 3.992 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.0004693/0.1688, allocations: 0.6303 MB / 0.771 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001217/0.1689, allocations: 32.17 kB / 0.771 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1689, allocations: 0 / 0.771 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.545e-05/0.169, allocations: 23.92 kB / 0.771 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001806/0.1692, allocations: 8 kB / 0.771 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/0.1704, allocations: 1.173 MB / 0.7722 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/0.1707, allocations: 0.6807 MB / 0.7728 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.671e-05/0.1707, allocations: 12.06 kB / 0.7729 GB, free: 1.293 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.991e-05/0.1708, allocations: 15.44 kB / 0.7729 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of SimCode: time 2.41e-07/0.1708, allocations: 0 / 0.7729 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4076/0.5784, allocations: 1.792 MB / 0.7746 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.395/8.974, allocations: 12.59 kB / 0.7746 GB, free: 14.47 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart_fmu --startTime=4.71744e+07 --stopTime=1.26144e+08 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1)