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.004784/0.004784, allocations: 100.2 kB / 15.73 MB, free: 6.004 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.001273/0.001273, allocations: 190.5 kB / 16.67 MB, free: 5.922 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.451/1.451, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002554/0.002554, allocations: 285.9 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9937/0.9937, allocations: 169.3 MB / 0.4983 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002754/0.002754, allocations: 99.83 kB / 0.681 GB, free: 7.473 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3979/0.4006, allocations: 86.97 MB / 0.7659 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002655/0.4033, allocations: 1.453 MB / 0.7673 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004361/0.4038, allocations: 201.2 kB / 0.7675 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.66e-05/0.4038, allocations: 0 / 0.7675 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.461e-05/0.4039, allocations: 7.938 kB / 0.7675 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002144/0.4041, allocations: 23.84 kB / 0.7676 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000188/0.4043, allocations: 54.8 kB / 0.7676 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.4044, allocations: 55.84 kB / 0.7677 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.639e-05/0.4045, allocations: 7.656 kB / 0.7677 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.972e-05/0.4045, allocations: 23.92 kB / 0.7677 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.904e-05/0.4046, allocations: 23.91 kB / 0.7677 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.895e-05/0.4047, allocations: 4 kB / 0.7677 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.774e-05/0.4047, allocations: 8 kB / 0.7677 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.857e-05/0.4047, allocations: 15.98 kB / 0.7678 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.862e-05/0.4048, allocations: 27.8 kB / 0.7678 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001039/0.4049, allocations: 47.86 kB / 0.7678 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.4049, allocations: 0 / 0.7678 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.266e-06/0.4049, allocations: 0 / 0.7678 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.319e-06/0.4049, allocations: 3.938 kB / 0.7678 GB, free: 1.938 MB / 0.5294 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.0005462/0.4055, allocations: 348.8 kB / 0.7682 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.4055, allocations: 12.03 kB / 0.7682 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.394e-05/0.4056, allocations: 38.75 kB / 0.7682 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.21e-05/0.4056, allocations: 8.891 kB / 0.7682 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001502/0.4058, allocations: 160.4 kB / 0.7684 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.4058, allocations: 4.375 kB / 0.7684 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.4058, allocations: 4.359 kB / 0.7684 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.406, allocations: 80.75 kB / 0.7685 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.406, allocations: 3.938 kB / 0.7685 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.406, allocations: 3.984 kB / 0.7685 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.406, allocations: 4 kB / 0.7685 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.624e-05/0.4061, allocations: 16 kB / 0.7685 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004057/0.4065, allocations: 284.8 kB / 0.7688 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.751e-05/0.4066, allocations: 38.52 kB / 0.7688 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.681e-05/0.4066, allocations: 16.94 kB / 0.7688 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 8.997e-06/0.4066, allocations: 8 kB / 0.7688 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000164/0.4068, allocations: 59.39 kB / 0.7689 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.323e-06/0.4068, allocations: 4 kB / 0.7689 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0002193/0.4071, allocations: 73.61 kB / 0.7689 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.651e-05/0.4071, allocations: 102.8 kB / 0.769 GB, free: 492 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.775e-05/0.4072, allocations: 109.8 kB / 0.7691 GB, free: 372 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.4073, allocations: 25.7 kB / 0.7692 GB, free: 340 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.684e-05/0.4073, allocations: 92.09 kB / 0.7693 GB, free: 244 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.4074, allocations: 7.953 kB / 0.7693 GB, free: 236 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.915e-05/0.4074, allocations: 25.7 kB / 0.7693 GB, free: 204 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.4076, allocations: 314.8 kB / 0.7696 GB, free: 15.88 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.082e-05/0.4076, allocations: 8 kB / 0.7696 GB, free: 15.88 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.758e-05/0.4077, allocations: 34.56 kB / 0.7696 GB, free: 15.83 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.957e-05/0.4078, allocations: 28.84 kB / 0.7697 GB, free: 15.8 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4078, allocations: 0 / 0.7697 GB, free: 15.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001044/0.4079, allocations: 61.67 kB / 0.7697 GB, free: 15.73 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.4079, allocations: 8 kB / 0.7697 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.4079, allocations: 0 / 0.7697 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.4079, allocations: 7.922 kB / 0.7697 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.256e-05/0.408, allocations: 4 kB / 0.7697 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.408, allocations: 0 / 0.7697 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.4081, allocations: 22.06 kB / 0.7698 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.4081, allocations: 0 / 0.7698 GB, free: 15.7 MB / 0.545 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.0001031/0.4082, allocations: 121.8 kB / 0.7699 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.582e-05/0.4083, allocations: 4 kB / 0.7699 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.707e-05/0.4083, allocations: 3.5 kB / 0.7699 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.4083, allocations: 0 / 0.7699 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.4083, allocations: 448 / 0.7699 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.4083, allocations: 3.984 kB / 0.7699 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001534/0.4085, allocations: 169.6 kB / 0.77 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.4085, allocations: 4 kB / 0.7701 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.541e-05/0.4085, allocations: 7.938 kB / 0.7701 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.4085, allocations: 0 / 0.7701 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.4085, allocations: 3.984 kB / 0.7701 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.4085, allocations: 8 kB / 0.7701 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.4086, allocations: 0 / 0.7701 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001495/0.4087, allocations: 89.2 kB / 0.7702 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.361e-05/0.4088, allocations: 97.06 kB / 0.7702 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.072e-05/0.4088, allocations: 0 / 0.7702 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.4089, allocations: 7.984 kB / 0.7703 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.082e-05/0.409, allocations: 7.984 kB / 0.7703 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.409, allocations: 4 kB / 0.7703 GB, free: 15.08 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.468e-05/0.409, allocations: 87.28 kB / 0.7703 GB, free: 14.99 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.409, allocations: 0 / 0.7703 GB, free: 14.99 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001952/0.4092, allocations: 12 kB / 0.7704 GB, free: 14.98 MB / 0.545 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.0004841/0.4097, allocations: 0.628 MB / 0.771 GB, free: 14.32 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000117/0.4099, allocations: 31.98 kB / 0.771 GB, free: 14.29 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.4099, allocations: 4 kB / 0.771 GB, free: 14.29 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.709e-05/0.4099, allocations: 19.92 kB / 0.771 GB, free: 14.27 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001545/0.4101, allocations: 4 kB / 0.771 GB, free: 14.26 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.4113, allocations: 1.165 MB / 0.7722 GB, free: 13.01 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003146/0.4116, allocations: 0.6838 MB / 0.7728 GB, free: 12.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.176e-05/0.4117, allocations: 8.234 kB / 0.7728 GB, free: 12.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.688e-05/0.4117, allocations: 15.38 kB / 0.7729 GB, free: 12.28 MB / 0.545 GB Notification: Performance of SimCode: time 2.71e-07/0.4117, allocations: 4 kB / 0.7729 GB, free: 12.28 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02207/0.4338, allocations: 1.786 MB / 0.7746 GB, free: 10.68 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.747/8.181, allocations: 16.55 kB / 0.7746 GB, free: 10.67 MB / 0.545 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)