Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.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/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.ConvertTimePositiveStart,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="Buildings_9_Buildings_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.000957/0.0009571, 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.0009217/0.0009216, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.164/1.164, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.042/2.042, allocations: 390.3 MB / 0.6647 GB, free: 240 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 64.09 kB / 0.8127 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4691/0.4703, allocations: 140.4 MB / 0.9497 GB, free: 9.23 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002038/0.4723, allocations: 1.449 MB / 0.9511 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003222/0.4727, allocations: 192.4 kB / 0.9513 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.608e-05/0.4727, allocations: 1.219 kB / 0.9513 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.114e-05/0.4728, allocations: 3.938 kB / 0.9513 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001786/0.473, allocations: 20.84 kB / 0.9514 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001519/0.4731, allocations: 51.84 kB / 0.9514 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.761e-05/0.4732, allocations: 53.09 kB / 0.9515 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.162e-05/0.4733, allocations: 11.83 kB / 0.9515 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.422e-05/0.4733, allocations: 27.23 kB / 0.9515 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.865e-05/0.4734, allocations: 19.08 kB / 0.9515 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.029e-05/0.4734, allocations: 3.781 kB / 0.9515 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.569e-05/0.4734, allocations: 8.344 kB / 0.9515 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.049e-05/0.4734, allocations: 18.91 kB / 0.9515 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.104e-05/0.4735, allocations: 22.25 kB / 0.9516 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.379e-05/0.4736, allocations: 55.16 kB / 0.9516 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.4736, allocations: 0 / 0.9516 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.132e-06/0.4736, allocations: 1.562 kB / 0.9516 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.513e-06/0.4736, allocations: 0 / 0.9516 GB, free: 7.75 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.0003594/0.474, allocations: 351.9 kB / 0.9519 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/0.474, allocations: 10.44 kB / 0.952 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.346e-05/0.474, allocations: 35.66 kB / 0.952 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.967e-05/0.4741, allocations: 7.938 kB / 0.952 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.179e-05/0.4741, allocations: 167.8 kB / 0.9522 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.4742, allocations: 384 / 0.9522 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/0.4742, allocations: 3.594 kB / 0.9522 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.4743, allocations: 82.5 kB / 0.9522 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.4743, allocations: 3.938 kB / 0.9522 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.4743, allocations: 1.25 kB / 0.9522 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.4743, allocations: 0 / 0.9522 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.437e-05/0.4744, allocations: 16.98 kB / 0.9523 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002377/0.4746, allocations: 277.4 kB / 0.9525 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.282e-05/0.4747, allocations: 47.84 kB / 0.9526 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.712e-05/0.4747, allocations: 15.03 kB / 0.9526 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.265e-06/0.4748, allocations: 0 / 0.9526 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001156/0.4749, allocations: 62.73 kB / 0.9526 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.4749, allocations: 1.312 kB / 0.9526 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001607/0.475, allocations: 74.86 kB / 0.9527 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.809e-05/0.4751, allocations: 104.1 kB / 0.9528 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.812e-05/0.4751, allocations: 113.2 kB / 0.9529 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/0.4751, allocations: 29.7 kB / 0.953 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.167e-05/0.4752, allocations: 82.11 kB / 0.953 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.518e-05/0.4752, allocations: 18.2 kB / 0.953 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.233e-05/0.4752, allocations: 15.06 kB / 0.9531 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.421e-05/0.4753, allocations: 323.9 kB / 0.9534 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.471e-05/0.4753, allocations: 9.562 kB / 0.9534 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.824e-05/0.4753, allocations: 36.56 kB / 0.9534 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.132e-05/0.4754, allocations: 24.08 kB / 0.9534 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.4754, allocations: 1.438 kB / 0.9534 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.05e-05/0.4755, allocations: 67.88 kB / 0.9535 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.989e-06/0.4755, allocations: 5.625 kB / 0.9535 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.4755, allocations: 0 / 0.9535 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-06/0.4755, allocations: 1.344 kB / 0.9535 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.726e-05/0.4756, allocations: 5.469 kB / 0.9535 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.207e-06/0.4756, allocations: 3.938 kB / 0.9535 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.873e-05/0.4757, allocations: 14.11 kB / 0.9535 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.4757, allocations: 0.8438 kB / 0.9535 GB, free: 5.723 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 5e-05/0.4758, allocations: 121.5 kB / 0.9537 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.459e-05/0.4758, allocations: 6.438 kB / 0.9537 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.513e-05/0.4758, allocations: 4.844 kB / 0.9537 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.4758, allocations: 0 / 0.9537 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.4758, allocations: 0 / 0.9537 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.4758, allocations: 1.375 kB / 0.9537 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.734e-05/0.4759, allocations: 178 kB / 0.9538 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.4759, allocations: 4.438 kB / 0.9538 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.094e-05/0.4759, allocations: 6.344 kB / 0.9538 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.4759, allocations: 1.562 kB / 0.9538 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.4759, allocations: 4 kB / 0.9538 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.4759, allocations: 1.562 kB / 0.9539 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.4759, allocations: 0 / 0.9539 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.779e-05/0.4761, allocations: 90.61 kB / 0.9539 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.331e-05/0.4761, allocations: 95.5 kB / 0.954 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.4761, allocations: 5.312 kB / 0.954 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.456e-05/0.4762, allocations: 8.766 kB / 0.954 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.633e-05/0.4762, allocations: 2.781 kB / 0.954 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.846e-06/0.4763, allocations: 1.125 kB / 0.954 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.531e-05/0.4763, allocations: 88.42 kB / 0.9541 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.4763, allocations: 0 / 0.9541 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001761/0.4765, allocations: 10.88 kB / 0.9541 GB, free: 5.074 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.0002262/0.4767, allocations: 0.6348 MB / 0.9548 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.586e-05/0.4768, allocations: 29.92 kB / 0.9548 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.4768, allocations: 1.625 kB / 0.9548 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.399e-05/0.4769, allocations: 20.14 kB / 0.9548 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000133/0.477, allocations: 3 kB / 0.9548 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006738/0.4777, allocations: 1.172 MB / 0.956 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.568e-05/0.4778, allocations: 0.6911 MB / 0.9566 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.96e-05/0.4778, allocations: 4.312 kB / 0.9566 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.886e-05/0.4778, allocations: 10.34 kB / 0.9566 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.4778, allocations: 0 / 0.9566 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.997/2.475, allocations: 1.755 MB / 0.9584 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.411/8.886, allocations: 8.125 kB / 0.9584 GB, free: 1.645 MB / 0.7169 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart_fmu --startTime=4.71744e+07 --stopTime=1.26144e+08 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1)