Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,fileNamePrefix="Buildings_10_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.001478/0.001478, 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.001127/0.001127, allocations: 192.9 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.24/1.24, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.337/2.337, allocations: 437 MB / 0.7104 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 63.91 kB / 0.8693 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4787/0.4799, allocations: 151.6 MB / 1.017 GB, free: 2.496 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.00256/0.4825, allocations: 1.579 MB / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001235/0.4838, allocations: 0.915 MB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.138e-05/0.4839, allocations: 4 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002236/0.4841, allocations: 71.64 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004208/0.4845, allocations: 151.3 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 3.271e-05/0.4846, allocations: 11.98 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003454/0.4849, allocations: 370.3 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.575e-05/0.485, allocations: 48.73 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001777/0.4852, allocations: 139.3 kB / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000185/0.4854, allocations: 131.4 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.128e-05/0.4854, allocations: 16 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 4.918e-05/0.4855, allocations: 16 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.989e-05/0.4856, allocations: 51.7 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001402/0.4857, allocations: 131.2 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002385/0.486, allocations: 289.2 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.486, allocations: 0 / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.132e-06/0.486, allocations: 4 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.486, allocations: 0 / 1.021 GB, free: 14.57 MB / 0.7794 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.000942/0.4869, allocations: 0.6185 MB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.487, allocations: 12.03 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.229e-05/0.487, allocations: 30.75 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.364e-05/0.4871, allocations: 36.48 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004126/0.4875, allocations: 386.2 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.264e-06/0.4875, allocations: 4.312 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-06/0.4875, allocations: 4.375 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.4877, allocations: 109.2 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.4877, allocations: 3.938 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.158e-06/0.4877, allocations: 0 / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.4877, allocations: 4 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.771e-05/0.4878, allocations: 63.88 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003377/0.4881, allocations: 348.1 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.4883, allocations: 110.4 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.801e-05/0.4883, allocations: 63.45 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.4884, allocations: 3.984 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.4884, allocations: 46.44 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.4884, allocations: 0 / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0002934/0.4887, allocations: 177.1 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.371e-05/0.4888, allocations: 136.5 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005361/0.4893, allocations: 0.5137 MB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.4893, allocations: 33.7 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.687e-05/0.4894, allocations: 160.1 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.505e-05/0.4895, allocations: 15.75 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.577e-05/0.4895, allocations: 21.7 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.4896, allocations: 338.8 kB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.978e-05/0.4897, allocations: 35.95 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.922e-05/0.4897, allocations: 55.41 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001218/0.4899, allocations: 107.3 kB / 1.025 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.4899, allocations: 0 / 1.025 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001961/0.4901, allocations: 149.1 kB / 1.025 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.4901, allocations: 4.125 kB / 1.025 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.4901, allocations: 8 kB / 1.025 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.4901, allocations: 3.938 kB / 1.025 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.962e-05/0.4902, allocations: 11.98 kB / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.4903, allocations: 0 / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001332/0.4904, allocations: 23.97 kB / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.4904, allocations: 3.938 kB / 1.025 GB, free: 10.65 MB / 0.7794 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.0001339/0.4905, allocations: 173.8 kB / 1.025 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.664e-05/0.4906, allocations: 39.45 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00029/0.4909, allocations: 183.8 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.4909, allocations: 4 kB / 1.025 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.4909, allocations: 0 / 1.025 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.4909, allocations: 0 / 1.025 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002488/0.4912, allocations: 313.3 kB / 1.025 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.4912, allocations: 0 / 1.025 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.351e-05/0.4913, allocations: 20.05 kB / 1.025 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.4913, allocations: 7.938 kB / 1.025 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.4913, allocations: 4 kB / 1.025 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.4913, allocations: 3.938 kB / 1.025 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.4913, allocations: 96 / 1.025 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002128/0.4915, allocations: 195.2 kB / 1.026 GB, free: 9.633 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001295/0.4917, allocations: 144.5 kB / 1.026 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.466e-05/0.4917, allocations: 4 kB / 1.026 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.4919, allocations: 7.984 kB / 1.026 GB, free: 9.461 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.975e-05/0.4919, allocations: 7.938 kB / 1.026 GB, free: 9.453 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.168e-06/0.4919, allocations: 11.98 kB / 1.026 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003966/0.4923, allocations: 387 kB / 1.026 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4923, allocations: 4 kB / 1.026 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002548/0.4926, allocations: 40 kB / 1.026 GB, free: 9.023 MB / 0.7794 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.0004048/0.493, allocations: 0.7261 MB / 1.027 GB, free: 8.262 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001607/0.4931, allocations: 91.86 kB / 1.027 GB, free: 8.172 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.4932, allocations: 0 / 1.027 GB, free: 8.172 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.29e-05/0.4932, allocations: 51.91 kB / 1.027 GB, free: 8.121 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000329/0.4936, allocations: 74.09 kB / 1.027 GB, free: 8.051 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003273/0.4968, allocations: 3.183 MB / 1.03 GB, free: 4.742 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/0.4972, allocations: 0.822 MB / 1.031 GB, free: 3.895 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001304/0.4973, allocations: 54.25 kB / 1.031 GB, free: 3.836 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/0.4975, allocations: 79.41 kB / 1.031 GB, free: 3.758 MB / 0.7794 GB Notification: Performance of SimCode: time 3.6e-07/0.4975, allocations: 4 kB / 1.031 GB, free: 3.754 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02175/0.5192, allocations: 6.584 MB / 1.038 GB, free: 13.35 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.621/7.14, allocations: 10.95 kB / 1.038 GB, free: 13.34 MB / 0.795 GB (rm -f Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature.fmu > Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe 2>&1)