Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.BaseClasses.HeatTransfer.Examples.ValidationLWRLinear.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.BaseClasses.HeatTransfer.Examples.ValidationLWRLinear,fileNamePrefix="BuildSysPro_BuildSysPro_BaseClasses_HeatTransfer_Examples_ValidationLWRLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.BaseClasses.HeatTransfer.Examples.ValidationLWRLinear,fileNamePrefix="BuildSysPro_BuildSysPro_BaseClasses_HeatTransfer_Examples_ValidationLWRLinear",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.00978/0.00978, allocations: 99.64 kB / 15.73 MB, free: 5.547 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.002214/0.002214, allocations: 193.6 kB / 16.67 MB, free: 5.492 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.418/1.418, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9705/0.9705, allocations: 143 MB / 433.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 59.91 kB / 0.595 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4172/0.4185, allocations: 82.02 MB / 0.6751 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BaseClasses.HeatTransfer.Examples.ValidationLWRLinear): time 0.004651/0.4232, allocations: 3.327 MB / 0.6784 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004958/0.4282, allocations: 2.826 MB / 0.6811 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004703/0.4288, allocations: 13.16 kB / 0.6811 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0005102/0.4293, allocations: 129.5 kB / 0.6813 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0007015/0.43, allocations: 242.5 kB / 0.6815 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001707/0.4318, allocations: 0.5849 MB / 0.6821 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001385/0.4331, allocations: 1.091 MB / 0.6831 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004513/0.4336, allocations: 301.1 kB / 0.6834 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006631/0.4343, allocations: 425.1 kB / 0.6838 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007641/0.4351, allocations: 472 kB / 0.6843 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002947/0.4354, allocations: 105.1 kB / 0.6844 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008779/0.4362, allocations: 403.9 kB / 0.6848 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004061/0.4367, allocations: 312.4 kB / 0.6851 GB, free: 9.781 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0008414/0.4375, allocations: 475.5 kB / 0.6855 GB, free: 9.418 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002006/0.4395, allocations: 1.361 MB / 0.6868 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 1.506e-05/0.4396, allocations: 0 / 0.6868 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of FrontEnd: time 4.649e-06/0.4396, allocations: 5.688 kB / 0.6869 GB, free: 8.43 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.964e-05/0.4397, allocations: 0 / 0.6869 GB, free: 8.43 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 175 * Number of variables: 175 Notification: Performance of Generate backend data structure: time 0.002474/0.4421, allocations: 1.3 MB / 0.6881 GB, free: 7.363 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.4422, allocations: 8.562 kB / 0.6881 GB, free: 7.363 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001583/0.4424, allocations: 121 kB / 0.6882 GB, free: 7.262 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004141/0.4428, allocations: 121.2 kB / 0.6884 GB, free: 7.203 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009625/0.4437, allocations: 0.6087 MB / 0.689 GB, free: 6.684 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002006/0.444, allocations: 143.5 kB / 0.6891 GB, free: 6.582 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/0.4441, allocations: 63.41 kB / 0.6892 GB, free: 6.562 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001845/0.4459, allocations: 0.9552 MB / 0.6901 GB, free: 5.957 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.446, allocations: 0 / 0.6901 GB, free: 5.957 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-05/0.446, allocations: 31.45 kB / 0.6901 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.687e-05/0.4461, allocations: 16.94 kB / 0.6901 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002357/0.4484, allocations: 1.098 MB / 0.6912 GB, free: 5.414 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00464/0.4531, allocations: 2.92 MB / 0.6941 GB, free: 2.688 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002088/0.4552, allocations: 0.9611 MB / 0.695 GB, free: 1.711 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001057/0.4563, allocations: 0.5059 MB / 0.6955 GB, free: 1.199 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006858/0.457, allocations: 0.5303 MB / 0.696 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.124e-05/0.457, allocations: 46.48 kB / 0.6961 GB, free: 0.5039 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=78): time 3.517e-06/0.4571, allocations: 0 / 0.6961 GB, free: 0.5039 MB / 0.5137 GB Notification: Performance of matching and sorting (n=78): time 0.01568/0.4727, allocations: 3.783 MB / 0.6997 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/0.4729, allocations: 191.9 kB / 0.6999 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/0.4739, allocations: 0.6837 MB / 0.7006 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001529/0.4741, allocations: 37.7 kB / 0.7006 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002599/0.4744, allocations: 360.5 kB / 0.701 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003116/0.4747, allocations: 248.4 kB / 0.7012 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002801/0.475, allocations: 122.3 kB / 0.7013 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.4751, allocations: 390.7 kB / 0.7017 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009606/0.4761, allocations: 413 kB / 0.7021 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00101/0.4771, allocations: 493 kB / 0.7026 GB, free: 9.676 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001855/0.479, allocations: 0.8595 MB / 0.7034 GB, free: 8.793 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.479, allocations: 0 / 0.7034 GB, free: 8.793 MB / 0.5294 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.008136/0.4872, allocations: 2.039 MB / 0.7054 GB, free: 6.727 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.281e-05/0.4873, allocations: 65.42 kB / 0.7055 GB, free: 6.652 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008033/0.4953, allocations: 2.032 MB / 0.7074 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001676/0.497, allocations: 0.6339 MB / 0.7081 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006397/0.4977, allocations: 131.8 kB / 0.7082 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01573/0.5135, allocations: 6.161 MB / 0.7142 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008286/0.5143, allocations: 83.36 kB / 0.7143 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002055/0.5146, allocations: 32.05 kB / 0.7143 GB, free: 13.27 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 12 (meteofile1.longitude,meteofile1.latitude,meteofile1.CoupleFlux,meteofile1.d0,meteofile1.h0,meteofile1.t0,meteofile.longitude,meteofile.latitude,meteofile.CoupleFlux,meteofile.d0,meteofile.h0,meteofile.t0) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006322/0.5152, allocations: 273.6 kB / 0.7146 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003251/0.5155, allocations: 82.98 kB / 0.7147 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007348/0.5229, allocations: 2.049 MB / 0.7167 GB, free: 10.85 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.079e-05/0.523, allocations: 8 kB / 0.7167 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.523, allocations: 3.984 kB / 0.7167 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.608e-05/0.523, allocations: 0 / 0.7167 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001662/0.5247, allocations: 0.9011 MB / 0.7175 GB, free: 9.887 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.007154/0.5318, allocations: 1.961 MB / 0.7195 GB, free: 7.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005089/0.5324, allocations: 103.9 kB / 0.7196 GB, free: 7.809 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001578/0.534, allocations: 0.6339 MB / 0.7202 GB, free: 7.168 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001992/0.5342, allocations: 23.98 kB / 0.7202 GB, free: 7.145 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0154/0.5496, allocations: 6.166 MB / 0.7262 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.5497, allocations: 0 / 0.7262 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007522/0.5572, allocations: 2.211 MB / 0.7284 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002606/0.5575, allocations: 156 kB / 0.7285 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002591/0.5578, allocations: 15.98 kB / 0.7285 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006444/0.5584, allocations: 51.94 kB / 0.7286 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003034/0.5587, allocations: 87.88 kB / 0.7287 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.624e-05/0.5588, allocations: 31.92 kB / 0.7287 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006893/0.5595, allocations: 0.4912 MB / 0.7292 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5596, allocations: 0 / 0.7292 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001101/0.5607, allocations: 271.4 kB / 0.7295 GB, free: 13.35 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 12 (meteofile1.t0,meteofile1.h0,meteofile1.d0,meteofile1.CoupleFlux,meteofile1.latitude,meteofile1.longitude,meteofile.t0,meteofile.h0,meteofile.d0,meteofile.CoupleFlux,meteofile.latitude,meteofile.longitude) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 12 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008969/0.5696, allocations: 3.23 MB / 0.7326 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003881/0.5736, allocations: 1.558 MB / 0.7341 GB, free: 8.676 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/0.5736, allocations: 0 / 0.7341 GB, free: 8.676 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002361/0.576, allocations: 0.9742 MB / 0.7351 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/0.577, allocations: 140.6 kB / 0.7352 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02239/0.5994, allocations: 9.215 MB / 0.7442 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007202/0.6002, allocations: 1.002 MB / 0.7452 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000662/0.6009, allocations: 195.5 kB / 0.7454 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004939/0.6014, allocations: 319.3 kB / 0.7457 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of SimCode: time 6.61e-07/0.6014, allocations: 0 / 0.7457 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0629/0.6643, allocations: 25.16 MB / 0.7702 GB, free: 3.68 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.85/13.51, allocations: 14.8 kB / 0.7703 GB, free: 3.668 MB / 0.5919 GB (rm -f BuildSysPro_BuildSysPro.BaseClasses.HeatTransfer.Examples.ValidationLWRLinear.pipe ; mkfifo BuildSysPro_BuildSysPro.BaseClasses.HeatTransfer.Examples.ValidationLWRLinear.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.BaseClasses.HeatTransfer.Examples.ValidationLWRLinear.pipe >> ../files/BuildSysPro_BuildSysPro.BaseClasses.HeatTransfer.Examples.ValidationLWRLinear.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_BaseClasses_HeatTransfer_Examples_ValidationLWRLinear_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_BaseClasses_HeatTransfer_Examples_ValidationLWRLinear.fmu > BuildSysPro_BuildSysPro.BaseClasses.HeatTransfer.Examples.ValidationLWRLinear.pipe 2>&1)