Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,fileNamePrefix="Buildings_9_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.001161/0.001161, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 198 kB / 16.54 MB, free: 6.672 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.189/1.189, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.039/2.039, allocations: 390.3 MB / 0.6647 GB, free: 452 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001108/0.001108, allocations: 59.91 kB / 0.8127 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4594/0.4605, allocations: 140.4 MB / 0.9497 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.002026/0.4625, allocations: 1.45 MB / 0.9511 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003195/0.4629, allocations: 188.4 kB / 0.9513 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.305e-05/0.4629, allocations: 0 / 0.9513 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.418e-05/0.463, allocations: 7.922 kB / 0.9513 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001672/0.4631, allocations: 29.45 kB / 0.9514 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001422/0.4633, allocations: 51.41 kB / 0.9514 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.699e-05/0.4634, allocations: 52.67 kB / 0.9515 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.4635, allocations: 8.141 kB / 0.9515 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.977e-05/0.4636, allocations: 23.25 kB / 0.9515 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.988e-05/0.4636, allocations: 26.95 kB / 0.9515 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.924e-05/0.4636, allocations: 4.719 kB / 0.9515 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.514e-05/0.4637, allocations: 3.844 kB / 0.9515 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.099e-05/0.4637, allocations: 14.98 kB / 0.9515 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.669e-05/0.4637, allocations: 22.94 kB / 0.9516 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.403e-05/0.4638, allocations: 46.11 kB / 0.9516 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.4638, allocations: 5.031 kB / 0.9516 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.072e-06/0.4638, allocations: 3.938 kB / 0.9516 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.546e-06/0.4638, allocations: 0 / 0.9516 GB, free: 7.691 MB / 0.7169 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.0003673/0.4642, allocations: 352.8 kB / 0.952 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/0.4642, allocations: 9.344 kB / 0.952 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.571e-05/0.4643, allocations: 32.47 kB / 0.952 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.912e-05/0.4643, allocations: 7.25 kB / 0.952 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.78e-05/0.4644, allocations: 171 kB / 0.9522 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.4644, allocations: 5.656 kB / 0.9522 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.136e-06/0.4644, allocations: 2.844 kB / 0.9522 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/0.4645, allocations: 79.12 kB / 0.9522 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.4645, allocations: 3.938 kB / 0.9522 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.4645, allocations: 1.156 kB / 0.9522 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.4646, allocations: 0 / 0.9522 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.53e-05/0.4646, allocations: 21.23 kB / 0.9523 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002449/0.4649, allocations: 277.7 kB / 0.9525 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.327e-05/0.4649, allocations: 42.97 kB / 0.9526 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.72e-05/0.465, allocations: 15.45 kB / 0.9526 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-06/0.465, allocations: 1.188 kB / 0.9526 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00011/0.4651, allocations: 70.06 kB / 0.9527 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.4651, allocations: 0 / 0.9527 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001635/0.4653, allocations: 75.27 kB / 0.9527 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/0.4653, allocations: 108.2 kB / 0.9528 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.852e-05/0.4654, allocations: 104.8 kB / 0.9529 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.937e-06/0.4654, allocations: 27.08 kB / 0.953 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.161e-05/0.4654, allocations: 85.58 kB / 0.953 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.537e-05/0.4654, allocations: 14.36 kB / 0.9531 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.293e-05/0.4655, allocations: 23.58 kB / 0.9531 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.253e-05/0.4655, allocations: 327.9 kB / 0.9534 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.413e-05/0.4655, allocations: 5.344 kB / 0.9534 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.875e-05/0.4656, allocations: 36.25 kB / 0.9534 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.149e-05/0.4656, allocations: 24.02 kB / 0.9535 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.4656, allocations: 0 / 0.9535 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.933e-05/0.4657, allocations: 60.12 kB / 0.9535 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.4657, allocations: 6.219 kB / 0.9535 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.4657, allocations: 3.969 kB / 0.9535 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.4658, allocations: 4 kB / 0.9535 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.597e-05/0.4658, allocations: 6.375 kB / 0.9535 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.339e-06/0.4658, allocations: 448 / 0.9535 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.847e-05/0.4659, allocations: 14.92 kB / 0.9535 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.4659, allocations: 5.344 kB / 0.9535 GB, free: 5.656 MB / 0.7169 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 4.944e-05/0.466, allocations: 113.5 kB / 0.9537 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.56e-05/0.466, allocations: 14.42 kB / 0.9537 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.55e-05/0.466, allocations: 3.5 kB / 0.9537 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-06/0.466, allocations: 5.094 kB / 0.9537 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.466, allocations: 1.125 kB / 0.9537 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.4661, allocations: 0 / 0.9537 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.082e-05/0.4661, allocations: 173.5 kB / 0.9538 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.4661, allocations: 1.469 kB / 0.9538 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.076e-05/0.4662, allocations: 6.594 kB / 0.9539 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.4662, allocations: 0 / 0.9539 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.4662, allocations: 1.281 kB / 0.9539 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.4662, allocations: 0 / 0.9539 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.4662, allocations: 0 / 0.9539 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.649e-05/0.4663, allocations: 96.05 kB / 0.9539 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.254e-05/0.4663, allocations: 91.62 kB / 0.954 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.4664, allocations: 5.438 kB / 0.954 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.323e-05/0.4664, allocations: 8.516 kB / 0.954 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.307e-05/0.4665, allocations: 3.219 kB / 0.954 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.4665, allocations: 0 / 0.954 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.38e-05/0.4665, allocations: 88.55 kB / 0.9541 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4665, allocations: 4.969 kB / 0.9541 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001826/0.4667, allocations: 10.16 kB / 0.9541 GB, free: 5.012 MB / 0.7169 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.0002394/0.467, allocations: 0.6349 MB / 0.9548 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.567e-05/0.4671, allocations: 30.02 kB / 0.9548 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.4671, allocations: 0 / 0.9548 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.359e-05/0.4671, allocations: 21.56 kB / 0.9548 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000134/0.4672, allocations: 4.594 kB / 0.9548 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006796/0.4679, allocations: 1.162 MB / 0.956 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.339e-05/0.468, allocations: 0.686 MB / 0.9566 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.035e-05/0.4681, allocations: 13.11 kB / 0.9566 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.931e-05/0.4681, allocations: 14.34 kB / 0.9567 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of SimCode: time 2.8e-07/0.4681, allocations: 0 / 0.9567 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.104/2.572, allocations: 1.751 MB / 0.9584 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.41/8.982, allocations: 10.81 kB / 0.9584 GB, free: 1.586 MB / 0.7169 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart_fmu --startTime=-3.1536e+07 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1)