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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001209/0.001209, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001229/0.001229, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.209/1.209, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.225/2.225, allocations: 437 MB / 0.7099 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 67.91 kB / 0.8687 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4626/0.4638, allocations: 151.6 MB / 1.017 GB, free: 2.754 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.002126/0.4659, allocations: 1.519 MB / 1.018 GB, free: 1.227 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003278/0.4663, allocations: 187.4 kB / 1.018 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.141e-05/0.4663, allocations: 0 / 1.018 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.614e-05/0.4664, allocations: 0 / 1.018 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001689/0.4665, allocations: 31.84 kB / 1.018 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001448/0.4667, allocations: 43.69 kB / 1.018 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.08e-05/0.4668, allocations: 63.69 kB / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 6.555e-05/0.4668, allocations: 4 kB / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.371e-05/0.4669, allocations: 27.92 kB / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.989e-05/0.467, allocations: 19.97 kB / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.467, allocations: 3.938 kB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.585e-05/0.467, allocations: 4 kB / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.281e-05/0.467, allocations: 11.98 kB / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.736e-05/0.4671, allocations: 15.92 kB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.068e-05/0.4671, allocations: 54.11 kB / 1.019 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.4672, allocations: 0 / 1.019 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of FrontEnd: time 4.91e-07/0.4672, allocations: 0 / 1.019 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.135e-06/0.4672, allocations: 0 / 1.019 GB, free: 0.7734 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.0004339/0.4676, allocations: 351.4 kB / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.4676, allocations: 8.031 kB / 1.019 GB, free: 380 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.111e-05/0.4677, allocations: 38.75 kB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.546e-05/0.4677, allocations: 0.9375 kB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.4678, allocations: 172.3 kB / 1.019 GB, free: 120 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.4678, allocations: 384 / 1.019 GB, free: 120 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.4679, allocations: 8.375 kB / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001182/0.468, allocations: 76.81 kB / 1.019 GB, free: 20 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.468, allocations: 3.938 kB / 1.019 GB, free: 16 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.468, allocations: 4 kB / 1.019 GB, free: 12 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.468, allocations: 0 / 1.019 GB, free: 12 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.041e-05/0.4681, allocations: 16.05 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003184/0.4684, allocations: 288.5 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.448e-05/0.4685, allocations: 46.56 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.932e-05/0.4685, allocations: 12.86 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.584e-06/0.4685, allocations: 0 / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001192/0.4687, allocations: 63.42 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.173e-06/0.4687, allocations: 0 / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0001794/0.4689, allocations: 77.66 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.233e-05/0.4689, allocations: 106.8 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.156e-05/0.469, allocations: 109.8 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.469, allocations: 25.7 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.492e-05/0.4691, allocations: 84.05 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.722e-05/0.4691, allocations: 11.91 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.354e-05/0.4691, allocations: 25.64 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.344e-05/0.4692, allocations: 318.8 kB / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.973e-05/0.4693, allocations: 15.92 kB / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.814e-05/0.4693, allocations: 38.58 kB / 1.02 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.585e-05/0.4694, allocations: 24.84 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.4694, allocations: 0 / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.776e-05/0.4695, allocations: 53.7 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.4695, allocations: 7.984 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.4695, allocations: 0 / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.257e-06/0.4695, allocations: 4 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.866e-05/0.4696, allocations: 7.938 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.4696, allocations: 0 / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/0.4697, allocations: 18.7 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.4697, allocations: 4 kB / 1.021 GB, free: 14.52 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.134e-05/0.4698, allocations: 118.3 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.332e-05/0.4698, allocations: 0 / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.976e-05/0.4698, allocations: 7.5 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.4698, allocations: 4 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.4699, allocations: 7.984 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.4699, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001084/0.47, allocations: 165.6 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.47, allocations: 7.938 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.234e-05/0.47, allocations: 8 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.47, allocations: 0 / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/0.47, allocations: 3.984 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.47, allocations: 0 / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.47, allocations: 0 / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001248/0.4702, allocations: 93 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.047e-05/0.4702, allocations: 92.94 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.4702, allocations: 4 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.4704, allocations: 7.984 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.988e-05/0.4704, allocations: 11.98 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.4704, allocations: 0 / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.429e-05/0.4705, allocations: 79.28 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4705, allocations: 0 / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001786/0.4706, allocations: 16 kB / 1.021 GB, free: 13.81 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.0003399/0.471, allocations: 0.6281 MB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.473e-05/0.4711, allocations: 31.92 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.4711, allocations: 0 / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.814e-05/0.4711, allocations: 19.98 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001339/0.4713, allocations: 9.969 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008819/0.4722, allocations: 1.178 MB / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002023/0.4724, allocations: 0.6848 MB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.237e-05/0.4724, allocations: 8.078 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.059e-05/0.4725, allocations: 15.42 kB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.4725, allocations: 0 / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9016/1.374, allocations: 1.605 MB / 1.025 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002128/1.374, allocations: 242.8 kB / 1.026 GB, free: 9.422 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.471/2.845, allocations: 2.391 kB / 1.026 GB, free: 9.422 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)