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.006613/0.006613, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.00144/0.00144, allocations: 203.7 kB / 16.68 MB, free: 5.969 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.529/1.529, allocations: 222.9 MB / 240.4 MB, free: 4.316 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 1.159/1.159, allocations: 143 MB / 433.6 MB, free: 11.47 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 63.91 kB / 0.595 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5197/0.5218, allocations: 82.04 MB / 0.6751 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BaseClasses.HeatTransfer.Examples.ValidationLWRLinear): time 0.005038/0.5269, allocations: 3.315 MB / 0.6784 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004747/0.5317, allocations: 2.833 MB / 0.6811 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002729/0.532, allocations: 12.5 kB / 0.6811 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0006463/0.5326, allocations: 125.9 kB / 0.6813 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0005937/0.5333, allocations: 243.2 kB / 0.6815 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001487/0.5348, allocations: 0.5847 MB / 0.6821 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001346/0.5361, allocations: 1.101 MB / 0.6831 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004459/0.5366, allocations: 295.4 kB / 0.6834 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004797/0.5371, allocations: 423.8 kB / 0.6838 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006146/0.5377, allocations: 471.5 kB / 0.6843 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003142/0.538, allocations: 104.1 kB / 0.6844 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000632/0.5387, allocations: 403.9 kB / 0.6848 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002859/0.539, allocations: 316.2 kB / 0.6851 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000559/0.5395, allocations: 484.2 kB / 0.6855 GB, free: 9.535 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001459/0.541, allocations: 1.364 MB / 0.6869 GB, free: 8.547 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.541, allocations: 5.375 kB / 0.6869 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.473e-06/0.541, allocations: 0 / 0.6869 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.101e-05/0.541, allocations: 0 / 0.6869 GB, free: 8.543 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.002618/0.5436, allocations: 1.326 MB / 0.6882 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.5437, allocations: 13.67 kB / 0.6882 GB, free: 7.445 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001547/0.5439, allocations: 120.8 kB / 0.6883 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005244/0.5444, allocations: 125.7 kB / 0.6884 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001486/0.5459, allocations: 0.6094 MB / 0.689 GB, free: 6.762 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004061/0.5463, allocations: 143.6 kB / 0.6891 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001594/0.5465, allocations: 64.09 kB / 0.6892 GB, free: 6.641 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002982/0.5495, allocations: 0.955 MB / 0.6901 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.35e-05/0.5495, allocations: 0 / 0.6901 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/0.5497, allocations: 31.08 kB / 0.6902 GB, free: 6.012 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.454e-05/0.5497, allocations: 16.34 kB / 0.6902 GB, free: 6.012 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003427/0.5531, allocations: 1.098 MB / 0.6912 GB, free: 5.492 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005321/0.5585, allocations: 2.928 MB / 0.6941 GB, free: 2.801 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002298/0.5608, allocations: 0.9565 MB / 0.695 GB, free: 1.828 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001142/0.5619, allocations: 0.5098 MB / 0.6955 GB, free: 1.312 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007769/0.5627, allocations: 0.5303 MB / 0.6961 GB, free: 0.6719 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.281e-05/0.5628, allocations: 38.56 kB / 0.6961 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=78): time 2.966e-06/0.5628, allocations: 0 / 0.6961 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of matching and sorting (n=78): time 0.01628/0.5791, allocations: 3.799 MB / 0.6998 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001142/0.5792, allocations: 187.9 kB / 0.7 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/0.5803, allocations: 0.6876 MB / 0.7007 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.515e-05/0.5804, allocations: 41.7 kB / 0.7007 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002921/0.5807, allocations: 357.1 kB / 0.701 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002249/0.5809, allocations: 261.7 kB / 0.7013 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002355/0.5811, allocations: 126.3 kB / 0.7014 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.5813, allocations: 386.7 kB / 0.7018 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001048/0.5824, allocations: 413 kB / 0.7022 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001144/0.5835, allocations: 493 kB / 0.7026 GB, free: 9.77 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002083/0.5856, allocations: 0.8595 MB / 0.7035 GB, free: 8.887 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.5856, allocations: 3.938 kB / 0.7035 GB, free: 8.883 MB / 0.5294 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.007442/0.5931, allocations: 2.04 MB / 0.7055 GB, free: 6.816 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.216e-05/0.5932, allocations: 59.41 kB / 0.7055 GB, free: 6.746 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007606/0.6008, allocations: 2.02 MB / 0.7075 GB, free: 4.703 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001904/0.6027, allocations: 0.6494 MB / 0.7081 GB, free: 4.047 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005193/0.6032, allocations: 123.8 kB / 0.7083 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01793/0.6212, allocations: 6.181 MB / 0.7143 GB, free: 13.47 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001021/0.6222, allocations: 79.62 kB / 0.7144 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001975/0.6224, allocations: 35.98 kB / 0.7144 GB, free: 13.36 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.0007993/0.6233, allocations: 273.6 kB / 0.7147 GB, free: 13.08 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004066/0.6237, allocations: 79.48 kB / 0.7147 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008023/0.6317, allocations: 2.05 MB / 0.7167 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-05/0.6318, allocations: 8 kB / 0.7167 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.6318, allocations: 0 / 0.7167 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.338e-06/0.6318, allocations: 3.984 kB / 0.7168 GB, free: 10.92 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001715/0.6335, allocations: 0.9051 MB / 0.7176 GB, free: 9.965 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.007513/0.641, allocations: 1.957 MB / 0.7195 GB, free: 7.992 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004104/0.6415, allocations: 107.8 kB / 0.7196 GB, free: 7.887 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001805/0.6433, allocations: 0.6378 MB / 0.7203 GB, free: 7.242 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.096e-05/0.6434, allocations: 19.98 kB / 0.7203 GB, free: 7.223 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01685/0.6602, allocations: 6.162 MB / 0.7263 GB, free: 0.7773 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.6603, allocations: 3.938 kB / 0.7263 GB, free: 0.7734 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008144/0.6684, allocations: 2.211 MB / 0.7285 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002851/0.6687, allocations: 160.4 kB / 0.7286 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000204/0.6689, allocations: 19.98 kB / 0.7286 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006101/0.6696, allocations: 47.94 kB / 0.7287 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004483/0.67, allocations: 91.81 kB / 0.7288 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.698e-05/0.6701, allocations: 27.98 kB / 0.7288 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000754/0.6709, allocations: 0.5029 MB / 0.7293 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6709, allocations: 0 / 0.7293 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001302/0.6722, allocations: 271.4 kB / 0.7296 GB, free: 13.41 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.009815/0.682, allocations: 3.226 MB / 0.7327 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.004485/0.6865, allocations: 1.562 MB / 0.7342 GB, free: 8.742 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.6866, allocations: 0 / 0.7342 GB, free: 8.742 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002738/0.6893, allocations: 0.978 MB / 0.7352 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001312/0.6906, allocations: 133.1 kB / 0.7353 GB, free: 7.598 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0268/0.7175, allocations: 9.236 MB / 0.7443 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008434/0.7183, allocations: 1.018 MB / 0.7453 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000683/0.719, allocations: 193.9 kB / 0.7455 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007004/0.7198, allocations: 327.2 kB / 0.7458 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of SimCode: time 1.312e-06/0.7198, allocations: 0 / 0.7458 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07305/0.7928, allocations: 24.77 MB / 0.77 GB, free: 4.09 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.79/14.59, allocations: 9.547 kB / 0.77 GB, free: 4.082 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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.BaseClasses.HeatTransfer.Examples.ValidationLWRLinear_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 600 BuildSysPro_BuildSysPro_BaseClasses_HeatTransfer_Examples_ValidationLWRLinear.fmu > BuildSysPro_BuildSysPro.BaseClasses.HeatTransfer.Examples.ValidationLWRLinear.pipe 2>&1)