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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001242/0.001242, 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.001318/0.001319, allocations: 192.8 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.226/1.226, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.067/2.067, allocations: 390.2 MB / 0.6643 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001235, allocations: 63.89 kB / 0.812 GB, free: 14.76 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4896/0.4908, allocations: 140.4 MB / 0.949 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.002035/0.4929, allocations: 1.642 MB / 0.9506 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008793/0.4938, allocations: 0.9023 MB / 0.9515 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.407e-05/0.4938, allocations: 5.312 kB / 0.9515 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001887/0.494, allocations: 57.64 kB / 0.9516 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003073/0.4943, allocations: 144.1 kB / 0.9517 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 2.305e-05/0.4944, allocations: 9.188 kB / 0.9517 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002509/0.4946, allocations: 355.9 kB / 0.9521 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.788e-05/0.4947, allocations: 46.14 kB / 0.9521 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001354/0.4948, allocations: 119.3 kB / 0.9522 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001307/0.495, allocations: 139.1 kB / 0.9524 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.776e-05/0.495, allocations: 14.19 kB / 0.9524 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00302/0.498, allocations: 0.6632 MB / 0.953 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.862e-05/0.4981, allocations: 50.17 kB / 0.9531 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.913e-05/0.4982, allocations: 131.2 kB / 0.9532 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01264/0.5108, allocations: 13.29 MB / 0.9662 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.5109, allocations: 1.188 kB / 0.9662 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of FrontEnd: time 9.91e-07/0.5109, allocations: 0 / 0.9662 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.678e-06/0.5109, allocations: 0 / 0.9662 GB, free: 11.29 MB / 0.7325 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.001227/0.5121, allocations: 0.6485 MB / 0.9668 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.5122, allocations: 8.688 kB / 0.9668 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.136e-05/0.5122, allocations: 32.06 kB / 0.9668 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.226e-05/0.5123, allocations: 34.97 kB / 0.9669 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004022/0.5127, allocations: 368 kB / 0.9672 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.5127, allocations: 7.719 kB / 0.9672 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.56e-05/0.5127, allocations: 5.719 kB / 0.9672 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.5129, allocations: 108.9 kB / 0.9673 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.29e-06/0.5129, allocations: 0 / 0.9673 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.5129, allocations: 7.609 kB / 0.9673 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.5129, allocations: 3.938 kB / 0.9674 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.277e-05/0.513, allocations: 64.41 kB / 0.9674 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003204/0.5133, allocations: 349.8 kB / 0.9677 GB, free: 9.855 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.5134, allocations: 112.4 kB / 0.9679 GB, free: 9.73 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.096e-05/0.5135, allocations: 59.09 kB / 0.9679 GB, free: 9.68 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.295e-05/0.5135, allocations: 5.359 kB / 0.9679 GB, free: 9.676 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.5135, allocations: 45.2 kB / 0.968 GB, free: 9.625 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.5135, allocations: 0 / 0.968 GB, free: 9.625 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.000292/0.5138, allocations: 185 kB / 0.9681 GB, free: 9.512 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.359e-05/0.5139, allocations: 130.1 kB / 0.9683 GB, free: 9.355 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000512/0.5144, allocations: 0.5074 MB / 0.9688 GB, free: 9.051 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.5145, allocations: 27.2 kB / 0.9688 GB, free: 9.02 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.5146, allocations: 156.4 kB / 0.9689 GB, free: 8.879 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.134e-05/0.5146, allocations: 13.91 kB / 0.9689 GB, free: 8.867 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.095e-05/0.5147, allocations: 50.19 kB / 0.969 GB, free: 8.832 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.5148, allocations: 340 kB / 0.9693 GB, free: 8.5 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/0.5149, allocations: 121.9 kB / 0.9694 GB, free: 8.438 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001864/0.5151, allocations: 185.9 kB / 0.9696 GB, free: 8.301 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003052/0.5154, allocations: 267.1 kB / 0.9699 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.5155, allocations: 0 / 0.9699 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004194/0.5159, allocations: 333.5 kB / 0.9702 GB, free: 7.957 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.5159, allocations: 5.125 kB / 0.9702 GB, free: 7.957 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.5159, allocations: 1.781 kB / 0.9702 GB, free: 7.957 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.857e-06/0.5159, allocations: 5.125 kB / 0.9702 GB, free: 7.953 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.516, allocations: 16.11 kB / 0.9702 GB, free: 7.949 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.5161, allocations: 6.094 kB / 0.9702 GB, free: 7.945 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001693/0.5162, allocations: 24.64 kB / 0.9702 GB, free: 7.93 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.73e-05/0.5163, allocations: 11.83 kB / 0.9702 GB, free: 7.922 MB / 0.7325 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 (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0001443/0.5164, allocations: 176.2 kB / 0.9704 GB, free: 7.773 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.679e-05/0.5165, allocations: 34.5 kB / 0.9704 GB, free: 7.754 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002867/0.5167, allocations: 188.8 kB / 0.9706 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.5168, allocations: 6.203 kB / 0.9706 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.5168, allocations: 1.062 kB / 0.9706 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.5168, allocations: 1.156 kB / 0.9706 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000232/0.517, allocations: 292.1 kB / 0.9709 GB, free: 7.344 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.517, allocations: 1.062 kB / 0.9709 GB, free: 7.344 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.567e-05/0.5171, allocations: 20.45 kB / 0.9709 GB, free: 7.336 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.5171, allocations: 1.156 kB / 0.9709 GB, free: 7.336 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.5171, allocations: 5.969 kB / 0.9709 GB, free: 7.332 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.5171, allocations: 1.812 kB / 0.9709 GB, free: 7.332 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.5171, allocations: 9.094 kB / 0.971 GB, free: 7.324 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002136/0.5174, allocations: 181 kB / 0.9711 GB, free: 7.18 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/0.5175, allocations: 141.8 kB / 0.9713 GB, free: 7.043 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.862e-05/0.5175, allocations: 11 kB / 0.9713 GB, free: 7.035 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.5177, allocations: 9.109 kB / 0.9713 GB, free: 7.031 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.861e-05/0.5177, allocations: 4.281 kB / 0.9713 GB, free: 7.031 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.5177, allocations: 2.281 kB / 0.9713 GB, free: 7.031 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003856/0.5181, allocations: 385.6 kB / 0.9717 GB, free: 6.805 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5181, allocations: 1.062 kB / 0.9717 GB, free: 6.805 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004393/0.5186, allocations: 99.95 kB / 0.9718 GB, free: 6.797 MB / 0.7325 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.004648/0.5232, allocations: 3.434 MB / 0.9751 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002991/0.5235, allocations: 196.6 kB / 0.9753 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.5235, allocations: 0 / 0.9753 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 6.407e-05/0.5236, allocations: 41.81 kB / 0.9753 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003302/0.5239, allocations: 63.12 kB / 0.9754 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003983/0.5279, allocations: 3.685 MB / 0.979 GB, free: 2.117 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003088/0.5283, allocations: 0.8195 MB / 0.9798 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001172/0.5284, allocations: 46.77 kB / 0.9798 GB, free: 1.332 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/0.5285, allocations: 83.33 kB / 0.9799 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.5285, allocations: 0 / 0.9799 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02038/0.5489, allocations: 10.66 MB / 0.9903 GB, free: 7.227 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000219/0.5491, allocations: 235.3 kB / 0.9905 GB, free: 6.977 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.872/2.421, allocations: 0 / 0.9905 GB, free: 6.977 MB / 0.7481 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)