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.007047/0.007047, allocations: 98.77 kB / 15.73 MB, free: 6.066 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.001795/0.001795, allocations: 196.1 kB / 16.68 MB, free: 5.973 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.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002515/0.002515, allocations: 290.9 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.183/1.183, allocations: 178.5 MB / 0.5074 GB, free: 12.84 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002744/0.002745, allocations: 95.84 kB / 0.6943 GB, free: 15.19 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.378/0.3807, allocations: 89.12 MB / 0.7813 GB, free: 1.141 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002134/0.3829, allocations: 1.467 MB / 0.7828 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004373/0.3834, allocations: 194.3 kB / 0.783 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.957e-05/0.3834, allocations: 0 / 0.783 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.285e-05/0.3834, allocations: 5.062 kB / 0.783 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002142/0.3837, allocations: 24.81 kB / 0.783 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002107/0.3839, allocations: 59.14 kB / 0.783 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001102/0.384, allocations: 60.61 kB / 0.7831 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.967e-05/0.3841, allocations: 8.203 kB / 0.7831 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.722e-05/0.3842, allocations: 28.36 kB / 0.7831 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.779e-05/0.3842, allocations: 17.95 kB / 0.7832 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.3843, allocations: 4.75 kB / 0.7832 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.649e-05/0.3843, allocations: 8.125 kB / 0.7832 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.997e-05/0.3843, allocations: 14.34 kB / 0.7832 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.782e-05/0.3844, allocations: 19.06 kB / 0.7832 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001145/0.3845, allocations: 49.17 kB / 0.7833 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.3845, allocations: 0 / 0.7833 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3845, allocations: 3.938 kB / 0.7833 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.3845, allocations: 0 / 0.7833 GB, free: 15.65 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.0005395/0.3851, allocations: 358.4 kB / 0.7836 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.3851, allocations: 9.219 kB / 0.7836 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.788e-05/0.3852, allocations: 36.47 kB / 0.7836 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.247e-05/0.3852, allocations: 6.859 kB / 0.7836 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/0.3853, allocations: 171.2 kB / 0.7838 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.3854, allocations: 1.719 kB / 0.7838 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/0.3854, allocations: 2.5 kB / 0.7838 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.3856, allocations: 74.94 kB / 0.7839 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.3856, allocations: 7.922 kB / 0.7839 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.3856, allocations: 1.188 kB / 0.7839 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.3856, allocations: 5.125 kB / 0.7839 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.709e-05/0.3857, allocations: 20.86 kB / 0.7839 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003735/0.386, allocations: 273.4 kB / 0.7842 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.3862, allocations: 42.47 kB / 0.7842 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.722e-05/0.3862, allocations: 15.7 kB / 0.7842 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.078e-05/0.3862, allocations: 0 / 0.7842 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001356/0.3864, allocations: 67.23 kB / 0.7843 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.3864, allocations: 0 / 0.7843 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0002109/0.3866, allocations: 71.42 kB / 0.7844 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.485e-05/0.3867, allocations: 107.8 kB / 0.7845 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.167e-05/0.3868, allocations: 108.7 kB / 0.7846 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.3868, allocations: 26.95 kB / 0.7846 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.454e-05/0.3869, allocations: 90.41 kB / 0.7847 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.963e-05/0.3869, allocations: 13.31 kB / 0.7847 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.733e-05/0.3869, allocations: 20.09 kB / 0.7847 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.3871, allocations: 324 kB / 0.785 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.843e-05/0.3871, allocations: 4.906 kB / 0.785 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.745e-05/0.3872, allocations: 37.19 kB / 0.7851 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.696e-05/0.3872, allocations: 23.83 kB / 0.7851 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.3873, allocations: 0 / 0.7851 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001127/0.3874, allocations: 76.95 kB / 0.7852 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.3874, allocations: 7.562 kB / 0.7852 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.3874, allocations: 1.594 kB / 0.7852 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.3874, allocations: 0 / 0.7852 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.254e-05/0.3875, allocations: 4.719 kB / 0.7852 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.3875, allocations: 1.188 kB / 0.7852 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.3876, allocations: 12.89 kB / 0.7852 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.3876, allocations: 1.312 kB / 0.7852 GB, free: 13.62 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 9.555e-05/0.3877, allocations: 113.9 kB / 0.7853 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.669e-05/0.3878, allocations: 10.58 kB / 0.7853 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.221e-05/0.3878, allocations: 7.5 kB / 0.7853 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.3878, allocations: 1.25 kB / 0.7853 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3878, allocations: 0 / 0.7853 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.3878, allocations: 1.312 kB / 0.7853 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001512/0.388, allocations: 177.6 kB / 0.7855 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.388, allocations: 0 / 0.7855 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.355e-05/0.388, allocations: 3.812 kB / 0.7855 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.388, allocations: 0 / 0.7855 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.388, allocations: 0 / 0.7855 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.388, allocations: 5.406 kB / 0.7855 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.388, allocations: 3.938 kB / 0.7855 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000146/0.3882, allocations: 94.69 kB / 0.7856 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.195e-05/0.3883, allocations: 84.59 kB / 0.7857 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.306e-05/0.3883, allocations: 5.391 kB / 0.7857 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.3884, allocations: 13.25 kB / 0.7857 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.279e-05/0.3885, allocations: 1.281 kB / 0.7857 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.3885, allocations: 2.688 kB / 0.7857 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.518e-05/0.3885, allocations: 95.33 kB / 0.7858 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3885, allocations: 1.344 kB / 0.7858 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000196/0.3887, allocations: 13.09 kB / 0.7858 GB, free: 12.98 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.0004753/0.3892, allocations: 0.6348 MB / 0.7864 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001254/0.3894, allocations: 38.83 kB / 0.7865 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3894, allocations: 0 / 0.7865 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.556e-05/0.3894, allocations: 17.47 kB / 0.7865 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001545/0.3896, allocations: 7.812 kB / 0.7865 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/0.3907, allocations: 1.174 MB / 0.7876 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002915/0.391, allocations: 0.6798 MB / 0.7883 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.758e-05/0.3911, allocations: 4.625 kB / 0.7883 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.771e-05/0.3911, allocations: 9.844 kB / 0.7883 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of SimCode: time 3.41e-07/0.3911, allocations: 0 / 0.7883 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02209/0.4132, allocations: 1.799 MB / 0.7901 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.59/8.003, allocations: 15.5 kB / 0.7901 GB, free: 9.508 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.csv --start-time 4.71744e+07 --stop-time 1.26144e+08 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 31587.8 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1)