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.0008611/0.0008611, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005217/0.005217, allocations: 168.6 kB / 16.26 MB, free: 6.652 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.206/1.206, allocations: 223.3 MB / 240.3 MB, free: 5.348 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.123/2.123, allocations: 390.9 MB / 0.6664 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002905/0.0002906, allocations: 8 kB / 0.8161 GB, free: 13.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5191/0.5194, allocations: 142.4 MB / 0.9552 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.001186/0.5206, allocations: 1.3 MB / 0.9564 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009128/0.5216, allocations: 0.8869 MB / 0.9573 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.8e-05/0.5216, allocations: 1.094 kB / 0.9573 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001855/0.5218, allocations: 57.16 kB / 0.9573 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003009/0.5221, allocations: 141.1 kB / 0.9575 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 2.376e-05/0.5221, allocations: 9.766 kB / 0.9575 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002636/0.5224, allocations: 355.4 kB / 0.9578 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.049e-05/0.5225, allocations: 41.59 kB / 0.9579 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001429/0.5226, allocations: 126 kB / 0.958 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001452/0.5228, allocations: 127.4 kB / 0.9581 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.437e-05/0.5228, allocations: 11.16 kB / 0.9581 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003124/0.5259, allocations: 0.671 MB / 0.9588 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.594e-05/0.526, allocations: 42.64 kB / 0.9588 GB, free: 5 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.787e-05/0.5261, allocations: 164.8 kB / 0.959 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01153/0.5376, allocations: 13.29 MB / 0.972 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.5377, allocations: 1 kB / 0.972 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5377, allocations: 0 / 0.972 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.5377, allocations: 0 / 0.972 GB, free: 10.11 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.001129/0.5388, allocations: 0.6029 MB / 0.9725 GB, free: 9.566 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.445e-05/0.5389, allocations: 9.406 kB / 0.9725 GB, free: 9.566 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.533e-05/0.5389, allocations: 31.56 kB / 0.9726 GB, free: 9.527 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.552e-05/0.539, allocations: 31.53 kB / 0.9726 GB, free: 9.512 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004042/0.5394, allocations: 372.2 kB / 0.973 GB, free: 9.191 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.5394, allocations: 7.375 kB / 0.973 GB, free: 9.188 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.798e-05/0.5394, allocations: 4.562 kB / 0.973 GB, free: 9.188 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.5396, allocations: 109.8 kB / 0.9731 GB, free: 9.082 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.73e-06/0.5396, allocations: 0 / 0.9731 GB, free: 9.082 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.5396, allocations: 1.094 kB / 0.9731 GB, free: 9.082 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.5396, allocations: 1.031 kB / 0.9731 GB, free: 9.082 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.257e-05/0.5397, allocations: 68.58 kB / 0.9731 GB, free: 9.047 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003392/0.54, allocations: 351.2 kB / 0.9735 GB, free: 8.711 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/0.5401, allocations: 111.9 kB / 0.9736 GB, free: 8.586 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.484e-05/0.5402, allocations: 64.2 kB / 0.9737 GB, free: 8.531 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.534e-05/0.5402, allocations: 4.922 kB / 0.9737 GB, free: 8.527 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.5403, allocations: 44.03 kB / 0.9737 GB, free: 8.477 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.5403, allocations: 0 / 0.9737 GB, free: 8.477 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0003055/0.5406, allocations: 185.7 kB / 0.9739 GB, free: 8.363 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.189e-05/0.5407, allocations: 129.8 kB / 0.974 GB, free: 8.207 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005406/0.5412, allocations: 0.5118 MB / 0.9745 GB, free: 7.898 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.5412, allocations: 30.8 kB / 0.9745 GB, free: 7.863 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.5413, allocations: 155.8 kB / 0.9747 GB, free: 7.719 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-05/0.5414, allocations: 15.27 kB / 0.9747 GB, free: 7.707 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.64e-05/0.5414, allocations: 25.58 kB / 0.9747 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.5415, allocations: 340.3 kB / 0.975 GB, free: 7.352 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.5417, allocations: 117.4 kB / 0.9752 GB, free: 7.293 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001849/0.5419, allocations: 186.6 kB / 0.9753 GB, free: 7.156 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003068/0.5422, allocations: 262.6 kB / 0.9756 GB, free: 7.004 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.5422, allocations: 0 / 0.9756 GB, free: 7.004 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004118/0.5426, allocations: 337.6 kB / 0.9759 GB, free: 6.812 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.5426, allocations: 5 kB / 0.9759 GB, free: 6.812 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.5426, allocations: 1.344 kB / 0.9759 GB, free: 6.812 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.5427, allocations: 1.344 kB / 0.9759 GB, free: 6.812 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.5428, allocations: 16.55 kB / 0.9759 GB, free: 6.809 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.5428, allocations: 13.14 kB / 0.9759 GB, free: 6.797 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001588/0.5429, allocations: 21.14 kB / 0.976 GB, free: 6.785 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.543, allocations: 4 kB / 0.976 GB, free: 6.785 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.0001478/0.5431, allocations: 188.2 kB / 0.9761 GB, free: 6.625 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.421e-05/0.5432, allocations: 34.09 kB / 0.9762 GB, free: 6.605 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002852/0.5435, allocations: 184.8 kB / 0.9764 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/0.5435, allocations: 2 kB / 0.9764 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.5435, allocations: 4.875 kB / 0.9764 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.5435, allocations: 1.125 kB / 0.9764 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002484/0.5437, allocations: 293.6 kB / 0.9766 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.5438, allocations: 3.984 kB / 0.9766 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.036e-05/0.5438, allocations: 16.72 kB / 0.9767 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.5438, allocations: 1.125 kB / 0.9767 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.5439, allocations: 2.188 kB / 0.9767 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.5439, allocations: 9.062 kB / 0.9767 GB, free: 6.184 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.5439, allocations: 1.156 kB / 0.9767 GB, free: 6.184 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002075/0.5441, allocations: 185.6 kB / 0.9768 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001277/0.5442, allocations: 143 kB / 0.977 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.244e-05/0.5443, allocations: 2.344 kB / 0.977 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/0.5444, allocations: 21.41 kB / 0.977 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.061e-05/0.5444, allocations: 2.781 kB / 0.977 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.5445, allocations: 2.844 kB / 0.977 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003993/0.5449, allocations: 378.5 kB / 0.9774 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5449, allocations: 0 / 0.9774 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004462/0.5453, allocations: 100.8 kB / 0.9775 GB, free: 5.656 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.004855/0.5502, allocations: 3.441 MB / 0.9808 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002951/0.5505, allocations: 188 kB / 0.981 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.5505, allocations: 0 / 0.981 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 6.708e-05/0.5506, allocations: 50.08 kB / 0.9811 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003579/0.5509, allocations: 51.39 kB / 0.9811 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004104/0.555, allocations: 3.71 MB / 0.9847 GB, free: 360 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/0.5554, allocations: 0.8224 MB / 0.9855 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001088/0.5555, allocations: 46.23 kB / 0.9856 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001249/0.5556, allocations: 78.41 kB / 0.9857 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of SimCode: time 3.3e-07/0.5556, allocations: 4 kB / 0.9857 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01947/0.5751, allocations: 10.51 MB / 0.9959 GB, free: 5.086 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002148/0.5753, allocations: 241.5 kB / 0.9962 GB, free: 4.828 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.977/2.552, allocations: 0 / 0.9962 GB, free: 4.828 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)