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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001621/0.001621, allocations: 116.8 kB / 17.17 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001704/0.001704, allocations: 209.5 kB / 20.13 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.461/1.461, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.003134/0.003134, allocations: 281.7 kB / 309.8 MB, free: 3.488 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.106/1.106, allocations: 180.6 MB / 0.5338 GB, free: 12.38 MB / 398.1 MB " [Timeout remaining time 178] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002843/0.002843, allocations: 99.84 kB / 0.7347 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5672/0.5701, allocations: 95.34 MB / 0.8278 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002549/0.5726, allocations: 1.492 MB / 0.8293 GB, free: 2 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003822/0.573, allocations: 195.5 kB / 0.8294 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.426e-05/0.573, allocations: 4 kB / 0.8294 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.456e-05/0.5731, allocations: 4.547 kB / 0.8294 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002148/0.5733, allocations: 24.33 kB / 0.8295 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001739/0.5735, allocations: 56.5 kB / 0.8295 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.55e-05/0.5736, allocations: 55.22 kB / 0.8296 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 7.915e-05/0.5736, allocations: 6.812 kB / 0.8296 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.11e-05/0.5737, allocations: 22.81 kB / 0.8296 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.183e-05/0.5738, allocations: 24.56 kB / 0.8296 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.5738, allocations: 5.375 kB / 0.8296 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.218e-05/0.5738, allocations: 7.438 kB / 0.8296 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.264e-05/0.5738, allocations: 9.219 kB / 0.8297 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.973e-05/0.5739, allocations: 27.42 kB / 0.8297 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000106/0.574, allocations: 46.94 kB / 0.8297 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.574, allocations: 0 / 0.8297 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.513e-06/0.574, allocations: 0 / 0.8297 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.498e-06/0.574, allocations: 0 / 0.8297 GB, free: 1.734 MB / 0.5762 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.0004695/0.5745, allocations: 358.9 kB / 0.8301 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.5745, allocations: 8.562 kB / 0.8301 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.108e-05/0.5745, allocations: 4.188 kB / 0.8301 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.109e-05/0.5745, allocations: 34.44 kB / 0.8301 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.206e-05/0.5746, allocations: 4.406 kB / 0.8301 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.453e-05/0.5746, allocations: 176.5 kB / 0.8303 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.5747, allocations: 384 / 0.8303 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/0.5747, allocations: 3.656 kB / 0.8303 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.5748, allocations: 79.56 kB / 0.8304 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.5748, allocations: 4 kB / 0.8304 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.5748, allocations: 0 / 0.8304 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.5748, allocations: 1.562 kB / 0.8304 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.35e-05/0.5749, allocations: 23.83 kB / 0.8304 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002769/0.5752, allocations: 274.6 kB / 0.8307 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.897e-05/0.5752, allocations: 32.95 kB / 0.8307 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.013e-05/0.5753, allocations: 20 kB / 0.8307 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.114e-05/0.5753, allocations: 0 / 0.8307 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001409/0.5754, allocations: 71.33 kB / 0.8308 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.5754, allocations: 0 / 0.8308 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4): time 0.0001867/0.5756, allocations: 74.23 kB / 0.8308 GB, free: 0.5898 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/0.5756, allocations: 105.8 kB / 0.8309 GB, free: 476 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.582e-05/0.5757, allocations: 103.6 kB / 0.831 GB, free: 372 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.5757, allocations: 25.7 kB / 0.8311 GB, free: 340 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.714e-05/0.5757, allocations: 97.34 kB / 0.8312 GB, free: 244 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.454e-05/0.5758, allocations: 4.562 kB / 0.8312 GB, free: 240 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.673e-05/0.5758, allocations: 22.12 kB / 0.8312 GB, free: 220 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.202e-05/0.5759, allocations: 326.9 kB / 0.8315 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.794e-05/0.5759, allocations: 8.625 kB / 0.8315 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.558e-05/0.576, allocations: 37.27 kB / 0.8315 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.476e-05/0.576, allocations: 29.11 kB / 0.8316 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.576, allocations: 4 kB / 0.8316 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.979e-05/0.5761, allocations: 61.41 kB / 0.8316 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.5761, allocations: 3.375 kB / 0.8316 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.5761, allocations: 2.531 kB / 0.8316 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.5761, allocations: 0.7969 kB / 0.8316 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.89e-05/0.5762, allocations: 9.891 kB / 0.8316 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.5762, allocations: 0.75 kB / 0.8316 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.5763, allocations: 13.16 kB / 0.8317 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.5763, allocations: 0 / 0.8317 GB, free: 15.78 MB / 0.5919 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.412e-05/0.5764, allocations: 124.2 kB / 0.8318 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.468e-05/0.5765, allocations: 2.656 kB / 0.8318 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.071e-05/0.5765, allocations: 8.156 kB / 0.8318 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.5765, allocations: 0 / 0.8318 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.5765, allocations: 0.6562 kB / 0.8318 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.5765, allocations: 0 / 0.8318 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/0.5766, allocations: 178.9 kB / 0.832 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.5766, allocations: 0.75 kB / 0.832 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.101e-05/0.5767, allocations: 0.9688 kB / 0.832 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.5767, allocations: 7.375 kB / 0.832 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/0.5767, allocations: 0.7969 kB / 0.832 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.5767, allocations: 0 / 0.832 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.5767, allocations: 0 / 0.832 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001401/0.5768, allocations: 94.52 kB / 0.8321 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.494e-05/0.5769, allocations: 83.27 kB / 0.8321 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.194e-05/0.5769, allocations: 4.75 kB / 0.8321 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.577, allocations: 12.5 kB / 0.8322 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.357e-05/0.577, allocations: 7.531 kB / 0.8322 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.268e-06/0.577, allocations: 3.516 kB / 0.8322 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.449e-05/0.5771, allocations: 86.38 kB / 0.8322 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.5771, allocations: 3.938 kB / 0.8322 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001826/0.5773, allocations: 11.31 kB / 0.8323 GB, free: 15.18 MB / 0.5919 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.0004606/0.5777, allocations: 0.6363 MB / 0.8329 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001259/0.5779, allocations: 36.19 kB / 0.8329 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.5779, allocations: 1.5 kB / 0.8329 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 4.446e-05/0.5779, allocations: 14.25 kB / 0.8329 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001459/0.5781, allocations: 8.672 kB / 0.8329 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/0.5793, allocations: 1.167 MB / 0.8341 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/0.5797, allocations: 0.6796 MB / 0.8347 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.375e-05/0.5797, allocations: 4.609 kB / 0.8347 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.241e-05/0.5797, allocations: 19.23 kB / 0.8348 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of SimCode: time 2.9e-07/0.5797, allocations: 0 / 0.8348 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0226/0.6023, allocations: 1.854 MB / 0.8366 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.273/8.875, allocations: 16.27 kB / 0.8366 GB, free: 12.31 MB / 0.5919 GB " [Timeout remaining time 651] (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 --stepSize=31587.8 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.06760008702986] Failed to read output from testmodel.py, exit status != 0: 9.003137175051961 9.029339708 8.451009187 Calling exit ...