Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.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.GroundTemperature.Examples.UndisturbedSoilTemperature,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature",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.0009633/0.0009633, 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.0009157/0.0009157, allocations: 198.6 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.18/1.18, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.043/2.043, allocations: 390.3 MB / 0.6647 GB, free: 232 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 71.89 kB / 0.8127 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4658/0.467, allocations: 140.4 MB / 0.9497 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.002033/0.469, allocations: 1.57 MB / 0.9513 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009127/0.47, allocations: 0.9146 MB / 0.9521 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.76e-05/0.47, allocations: 2.125 kB / 0.9521 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001937/0.4702, allocations: 68.89 kB / 0.9522 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003341/0.4706, allocations: 155.4 kB / 0.9524 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 2.569e-05/0.4706, allocations: 6.766 kB / 0.9524 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000279/0.4709, allocations: 367.5 kB / 0.9527 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.412e-05/0.471, allocations: 46.16 kB / 0.9528 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001405/0.4711, allocations: 135.6 kB / 0.9529 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.4713, allocations: 140.8 kB / 0.953 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.031e-05/0.4713, allocations: 15.25 kB / 0.953 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.061e-05/0.4714, allocations: 20.06 kB / 0.9531 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.665e-05/0.4714, allocations: 51.47 kB / 0.9531 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.96e-05/0.4715, allocations: 130.8 kB / 0.9532 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001871/0.4717, allocations: 283.4 kB / 0.9535 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.4717, allocations: 1.969 kB / 0.9535 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.302e-06/0.4717, allocations: 0 / 0.9535 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.4717, allocations: 0 / 0.9535 GB, free: 6.285 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007902/0.4725, allocations: 0.628 MB / 0.9541 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.019e-05/0.4726, allocations: 9.75 kB / 0.9541 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.229e-05/0.4726, allocations: 35.91 kB / 0.9542 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.688e-05/0.4726, allocations: 31 kB / 0.9542 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003417/0.473, allocations: 389.2 kB / 0.9546 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.859e-06/0.473, allocations: 1.5 kB / 0.9546 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.231e-05/0.473, allocations: 5.5 kB / 0.9546 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/0.4731, allocations: 98.14 kB / 0.9547 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.84e-06/0.4731, allocations: 0 / 0.9547 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.4732, allocations: 5.125 kB / 0.9547 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.4732, allocations: 5.047 kB / 0.9547 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.163e-05/0.4733, allocations: 68.23 kB / 0.9547 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002582/0.4735, allocations: 353.3 kB / 0.9551 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.417e-05/0.4736, allocations: 100.9 kB / 0.9552 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.891e-05/0.4737, allocations: 74.83 kB / 0.9552 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.4737, allocations: 1.406 kB / 0.9552 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.157e-05/0.4737, allocations: 36.03 kB / 0.9553 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.4737, allocations: 1.375 kB / 0.9553 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0002579/0.474, allocations: 189 kB / 0.9555 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.394e-05/0.474, allocations: 135.4 kB / 0.9556 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004347/0.4744, allocations: 0.5087 MB / 0.9561 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.135e-06/0.4744, allocations: 25.7 kB / 0.9561 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.03e-05/0.4745, allocations: 164.2 kB / 0.9563 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.17e-05/0.4745, allocations: 17.67 kB / 0.9563 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.241e-05/0.4746, allocations: 18.12 kB / 0.9563 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.713e-05/0.4746, allocations: 345 kB / 0.9566 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.567e-05/0.4747, allocations: 40.94 kB / 0.9567 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.767e-05/0.4747, allocations: 58.64 kB / 0.9567 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001014/0.4748, allocations: 103.2 kB / 0.9568 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.4749, allocations: 5.375 kB / 0.9568 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001601/0.475, allocations: 146.9 kB / 0.957 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.808e-06/0.475, allocations: 5.406 kB / 0.957 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.475, allocations: 1.344 kB / 0.957 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.4751, allocations: 1.344 kB / 0.957 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.123e-05/0.4752, allocations: 10.98 kB / 0.957 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.4752, allocations: 6.062 kB / 0.957 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000124/0.4753, allocations: 9.234 kB / 0.957 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.405e-06/0.4753, allocations: 5.719 kB / 0.957 GB, free: 3.25 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 0.0001015/0.4754, allocations: 180 kB / 0.9572 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.215e-05/0.4755, allocations: 37.88 kB / 0.9572 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002475/0.4757, allocations: 180.1 kB / 0.9574 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.4757, allocations: 6.125 kB / 0.9574 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.4757, allocations: 5.312 kB / 0.9574 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.4757, allocations: 1.312 kB / 0.9574 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001867/0.4759, allocations: 314.4 kB / 0.9577 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.4759, allocations: 1.344 kB / 0.9577 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.967e-05/0.476, allocations: 19.02 kB / 0.9577 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.476, allocations: 1.312 kB / 0.9577 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.218e-06/0.476, allocations: 5.438 kB / 0.9577 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.476, allocations: 6.375 kB / 0.9577 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.4761, allocations: 1.344 kB / 0.9577 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001758/0.4762, allocations: 190.3 kB / 0.9579 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 9.69e-05/0.4763, allocations: 135.2 kB / 0.958 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.597e-05/0.4764, allocations: 11.09 kB / 0.9581 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.4765, allocations: 9.547 kB / 0.9581 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.234e-05/0.4766, allocations: 7.141 kB / 0.9581 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.683e-06/0.4766, allocations: 6.5 kB / 0.9581 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003513/0.4769, allocations: 398.7 kB / 0.9585 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4769, allocations: 0 / 0.9585 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002295/0.4772, allocations: 37.12 kB / 0.9585 GB, free: 2.105 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.00028/0.4775, allocations: 0.7328 MB / 0.9592 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001431/0.4776, allocations: 88.56 kB / 0.9593 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.4776, allocations: 0 / 0.9593 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.607e-05/0.4777, allocations: 46.41 kB / 0.9593 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/0.478, allocations: 66.83 kB / 0.9594 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002875/0.4809, allocations: 3.196 MB / 0.9625 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000271/0.4812, allocations: 0.8149 MB / 0.9633 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001137/0.4813, allocations: 52.36 kB / 0.9634 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/0.4814, allocations: 80.62 kB / 0.9634 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.4814, allocations: 0 / 0.9634 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02841/0.5098, allocations: 6.592 MB / 0.9699 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.504/8.014, allocations: 18.23 kB / 0.9699 GB, free: 11.06 MB / 0.7325 GB (rm -f Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature.fmu > Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe 2>&1)