Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart",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.001221/0.001221, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001136/0.001136, allocations: 192.9 kB / 16.25 MB, free: 6.637 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.182/1.182, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.228/2.228, allocations: 437 MB / 0.7101 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 67.89 kB / 0.8689 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.449/0.4502, allocations: 151.6 MB / 1.017 GB, free: 2.73 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.002097/0.4523, allocations: 1.519 MB / 1.018 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003284/0.4527, allocations: 187.5 kB / 1.019 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.921e-05/0.4527, allocations: 3.938 kB / 1.019 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.518e-05/0.4527, allocations: 0 / 1.019 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001751/0.4529, allocations: 23.91 kB / 1.019 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001506/0.4531, allocations: 47.45 kB / 1.019 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.525e-05/0.4532, allocations: 63.77 kB / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 6.751e-05/0.4532, allocations: 11.98 kB / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.262e-05/0.4533, allocations: 19.98 kB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.74e-05/0.4533, allocations: 19.91 kB / 1.019 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.9e-05/0.4534, allocations: 4 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.218e-05/0.4534, allocations: 4 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.138e-05/0.4534, allocations: 19.92 kB / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.786e-05/0.4534, allocations: 23.86 kB / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.861e-05/0.4535, allocations: 54.11 kB / 1.019 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.4535, allocations: 4 kB / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.183e-06/0.4535, allocations: 0 / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.516e-06/0.4535, allocations: 0 / 1.019 GB, free: 0.7305 MB / 0.7637 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.0004069/0.454, allocations: 351.4 kB / 1.019 GB, free: 344 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.054e-05/0.454, allocations: 8.031 kB / 1.019 GB, free: 336 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.995e-05/0.454, allocations: 34.75 kB / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.737e-05/0.4541, allocations: 8.844 kB / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.223e-05/0.4542, allocations: 164.4 kB / 1.019 GB, free: 80 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.4542, allocations: 384 / 1.019 GB, free: 80 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.4542, allocations: 8.375 kB / 1.019 GB, free: 72 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.4543, allocations: 80.69 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.4543, allocations: 3.938 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.4544, allocations: 0 / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.4544, allocations: 7.984 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.857e-05/0.4544, allocations: 12 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002846/0.4547, allocations: 284.7 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.916e-05/0.4548, allocations: 38.52 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.261e-05/0.4548, allocations: 20.94 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.136e-06/0.4549, allocations: 0 / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001182/0.455, allocations: 59.39 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.455, allocations: 4 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0001684/0.4552, allocations: 73.61 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.09e-05/0.4552, allocations: 102.8 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.105e-05/0.4553, allocations: 109.8 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.4553, allocations: 29.7 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.614e-05/0.4554, allocations: 88.03 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.629e-05/0.4554, allocations: 11.89 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.766e-05/0.4554, allocations: 25.7 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.514e-05/0.4555, allocations: 318.8 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.764e-05/0.4555, allocations: 12 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.275e-05/0.4556, allocations: 30.56 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.41e-05/0.4556, allocations: 25.23 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4556, allocations: 4 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.987e-05/0.4557, allocations: 65.62 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.107e-06/0.4557, allocations: 4 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.307e-06/0.4557, allocations: 0 / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.624e-06/0.4558, allocations: 4.031 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.657e-05/0.4558, allocations: 11.98 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.4558, allocations: 0 / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/0.4559, allocations: 11.89 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.456, allocations: 0 / 1.021 GB, free: 14.49 MB / 0.7794 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 7.062e-05/0.456, allocations: 118.3 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.552e-05/0.4561, allocations: 4 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.61e-05/0.4561, allocations: 3.5 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.4561, allocations: 0 / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.4561, allocations: 4 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.4561, allocations: 192 / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001012/0.4562, allocations: 177.6 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.4562, allocations: 3.984 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.925e-05/0.4562, allocations: 0 / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.4562, allocations: 4 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.4563, allocations: 7.875 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.4563, allocations: 3.984 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.4563, allocations: 0 / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001119/0.4564, allocations: 89.06 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.746e-05/0.4564, allocations: 96.94 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.4565, allocations: 0 / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.4566, allocations: 11.98 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.517e-05/0.4566, allocations: 7.922 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.4566, allocations: 4 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.132e-05/0.4567, allocations: 87.34 kB / 1.021 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4567, allocations: 0 / 1.021 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001784/0.4568, allocations: 20 kB / 1.021 GB, free: 13.76 MB / 0.7794 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.0003155/0.4572, allocations: 0.6262 MB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.428e-05/0.4573, allocations: 31.98 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.4573, allocations: 0 / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.691e-05/0.4573, allocations: 19.92 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001389/0.4575, allocations: 14.03 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008227/0.4583, allocations: 1.168 MB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000168/0.4585, allocations: 0.6807 MB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.028e-05/0.4585, allocations: 4 kB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.08e-05/0.4585, allocations: 11.42 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.4585, allocations: 0 / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.489/1.947, allocations: 1.668 MB / 1.026 GB, free: 9.609 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002322/1.948, allocations: 253.3 kB / 1.026 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.643/4.59, allocations: 0 / 1.026 GB, free: 9.348 MB / 0.7794 GB (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart_fmu --startTime=-3.1536e+07 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1)