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.009059/0.009059, allocations: 105.6 kB / 15.74 MB, free: 6.035 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.001276/0.001276, allocations: 195.6 kB / 16.67 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.325/1.325, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00209/0.002089, allocations: 282.8 kB / 290.8 MB, free: 1.789 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.949/0.949, allocations: 169.2 MB / 0.4983 GB, free: 13.84 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 100.4 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1754, allocations: 86.97 MB / 0.7659 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002714/0.1782, allocations: 1.464 MB / 0.7674 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00047/0.1787, allocations: 187.4 kB / 0.7675 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.49e-05/0.1787, allocations: 0 / 0.7675 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.949e-05/0.1788, allocations: 3.984 kB / 0.7675 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002334/0.179, allocations: 23.86 kB / 0.7676 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001965/0.1792, allocations: 62.7 kB / 0.7676 GB, free: 7.188 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.1793, allocations: 55.84 kB / 0.7677 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.975e-05/0.1794, allocations: 11.98 kB / 0.7677 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.9e-05/0.1795, allocations: 23.92 kB / 0.7677 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.91e-05/0.1796, allocations: 19.92 kB / 0.7677 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.311e-05/0.1796, allocations: 4 kB / 0.7677 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.282e-05/0.1796, allocations: 4 kB / 0.7677 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.688e-05/0.1797, allocations: 15.97 kB / 0.7677 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.665e-05/0.1797, allocations: 27.86 kB / 0.7678 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001015/0.1798, allocations: 47.86 kB / 0.7678 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1798, allocations: 0 / 0.7678 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.343e-06/0.1798, allocations: 0 / 0.7678 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.1799, allocations: 0 / 0.7678 GB, free: 6.98 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.0005137/0.1804, allocations: 355.4 kB / 0.7682 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.1804, allocations: 12.56 kB / 0.7682 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.359e-05/0.1805, allocations: 42.67 kB / 0.7682 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.509e-05/0.1805, allocations: 8.844 kB / 0.7682 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.1807, allocations: 168.4 kB / 0.7684 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.1807, allocations: 384 / 0.7684 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.1807, allocations: 4.375 kB / 0.7684 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.1808, allocations: 72.81 kB / 0.7685 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.1809, allocations: 7.938 kB / 0.7685 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.1809, allocations: 0 / 0.7685 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.468e-05/0.1809, allocations: 4 kB / 0.7685 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.36e-05/0.181, allocations: 19.92 kB / 0.7685 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003558/0.1813, allocations: 276.8 kB / 0.7687 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.689e-05/0.1814, allocations: 34.58 kB / 0.7688 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.752e-05/0.1815, allocations: 20.94 kB / 0.7688 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.342e-06/0.1815, allocations: 3.938 kB / 0.7688 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001826/0.1817, allocations: 63.39 kB / 0.7689 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.143e-06/0.1817, allocations: 0 / 0.7689 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0001871/0.1819, allocations: 65.69 kB / 0.7689 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.977e-05/0.1819, allocations: 106.8 kB / 0.769 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.335e-05/0.182, allocations: 101.9 kB / 0.7691 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.182, allocations: 33.64 kB / 0.7692 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.449e-05/0.1821, allocations: 100 kB / 0.7693 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.909e-05/0.1821, allocations: 11.81 kB / 0.7693 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.132e-05/0.1822, allocations: 21.7 kB / 0.7693 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.1823, allocations: 318.8 kB / 0.7696 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.88e-05/0.1823, allocations: 8 kB / 0.7696 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.722e-05/0.1824, allocations: 34.56 kB / 0.7696 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.01e-05/0.1824, allocations: 28.89 kB / 0.7697 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1824, allocations: 0 / 0.7697 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001038/0.1825, allocations: 58.12 kB / 0.7697 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.1826, allocations: 10.19 kB / 0.7697 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.1826, allocations: 3.938 kB / 0.7697 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.1826, allocations: 0 / 0.7697 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.529e-05/0.1827, allocations: 11.98 kB / 0.7697 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.1827, allocations: 4 kB / 0.7697 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.1828, allocations: 7.984 kB / 0.7698 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.1828, allocations: 0 / 0.7698 GB, free: 4.734 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 8.224e-05/0.1829, allocations: 122.6 kB / 0.7699 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.748e-05/0.1829, allocations: 7.906 kB / 0.7699 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.248e-05/0.1829, allocations: 7.484 kB / 0.7699 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.183, allocations: 0 / 0.7699 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.183, allocations: 3.938 kB / 0.7699 GB, free: 4.586 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.183, allocations: 0 / 0.7699 GB, free: 4.586 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001351/0.1831, allocations: 177.6 kB / 0.7701 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1831, allocations: 4 kB / 0.7701 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.139e-05/0.1831, allocations: 0 / 0.7701 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.1832, allocations: 4 kB / 0.7701 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.1832, allocations: 4 kB / 0.7701 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1832, allocations: 0 / 0.7701 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1832, allocations: 0 / 0.7701 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001341/0.1833, allocations: 92.98 kB / 0.7702 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.747e-05/0.1834, allocations: 93 kB / 0.7702 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/0.1834, allocations: 0 / 0.7702 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.1835, allocations: 11.98 kB / 0.7703 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.613e-05/0.1835, allocations: 4 kB / 0.7703 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.1836, allocations: 7.984 kB / 0.7703 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.888e-05/0.1836, allocations: 87.22 kB / 0.7703 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1836, allocations: 0 / 0.7703 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001899/0.1838, allocations: 8 kB / 0.7704 GB, free: 4.016 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.0004265/0.1843, allocations: 0.6358 MB / 0.771 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001108/0.1844, allocations: 31.98 kB / 0.771 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1844, allocations: 0 / 0.771 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.776e-05/0.1844, allocations: 12 kB / 0.771 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001574/0.1846, allocations: 13.14 kB / 0.771 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.1857, allocations: 1.173 MB / 0.7722 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000248/0.1859, allocations: 0.6768 MB / 0.7728 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.675e-05/0.186, allocations: 8 kB / 0.7728 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.027e-05/0.186, allocations: 19.42 kB / 0.7729 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of SimCode: time 3.31e-07/0.186, allocations: 96 / 0.7729 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3487/0.5347, allocations: 1.817 MB / 0.7746 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.278/7.813, allocations: 16.08 kB / 0.7747 GB, free: 14.49 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)