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.0008316/0.0008316, allocations: 90.75 kB / 15.36 MB, free: 0.7383 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.004615/0.004615, allocations: 172.7 kB / 16.26 MB, free: 6.613 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.175/1.175, allocations: 223.3 MB / 240.3 MB, free: 5.352 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.863/0.863, allocations: 143.2 MB / 434.6 MB, free: 13.74 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002618/0.0002619, allocations: 8 kB / 0.5165 GB, free: 11.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1228, allocations: 83.42 MB / 0.598 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BaseClasses.HeatTransfer.Examples.ValidationLWRLinear): time 0.002899/0.1257, allocations: 2.95 MB / 0.6008 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003287/0.129, allocations: 2.762 MB / 0.6035 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001785/0.1292, allocations: 11.94 kB / 0.6035 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002996/0.1295, allocations: 107.3 kB / 0.6036 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004283/0.13, allocations: 202.9 kB / 0.6038 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001024/0.131, allocations: 0.5092 MB / 0.6043 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0007856/0.1318, allocations: 1.002 MB / 0.6053 GB, free: 44 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.2183/0.3501, allocations: 254.5 kB / 0.6056 GB, free: 35.18 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005761/0.3507, allocations: 341.2 kB / 0.6059 GB, free: 35.16 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005516/0.3513, allocations: 419.6 kB / 0.6063 GB, free: 35.09 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001156/0.3514, allocations: 46.72 kB / 0.6063 GB, free: 35.09 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005384/0.3519, allocations: 337.8 kB / 0.6066 GB, free: 35.09 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001925/0.3521, allocations: 255.5 kB / 0.6069 GB, free: 35.05 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003136/0.3525, allocations: 441 kB / 0.6073 GB, free: 34.87 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008988/0.3534, allocations: 1.27 MB / 0.6086 GB, free: 34.71 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.3534, allocations: 0.75 kB / 0.6086 GB, free: 34.71 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.183e-06/0.3534, allocations: 0 / 0.6086 GB, free: 34.71 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.987e-05/0.3534, allocations: 0.5312 kB / 0.6086 GB, free: 34.71 MB / 0.4981 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.001669/0.3551, allocations: 1.11 MB / 0.6096 GB, free: 33.97 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.3551, allocations: 9.875 kB / 0.6096 GB, free: 33.97 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000135/0.3553, allocations: 125.8 kB / 0.6098 GB, free: 33.93 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002646/0.3555, allocations: 117.8 kB / 0.6099 GB, free: 33.88 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006175/0.3562, allocations: 0.6016 MB / 0.6105 GB, free: 33.58 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001525/0.3563, allocations: 148.3 kB / 0.6106 GB, free: 33.52 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.556e-05/0.3564, allocations: 68.56 kB / 0.6107 GB, free: 33.52 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00166/0.3581, allocations: 0.953 MB / 0.6116 GB, free: 33.39 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.3581, allocations: 0 / 0.6116 GB, free: 33.39 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.011e-05/0.3582, allocations: 26.84 kB / 0.6116 GB, free: 33.39 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.3582, allocations: 18.34 kB / 0.6116 GB, free: 33.39 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002236/0.3605, allocations: 1.1 MB / 0.6127 GB, free: 33.37 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003249/0.3637, allocations: 2.934 MB / 0.6156 GB, free: 32.07 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001715/0.3654, allocations: 0.9644 MB / 0.6165 GB, free: 32.02 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009414/0.3664, allocations: 0.507 MB / 0.617 GB, free: 32 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004308/0.3668, allocations: 0.537 MB / 0.6175 GB, free: 31.43 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.3669, allocations: 40.56 kB / 0.6176 GB, free: 31.39 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=78): time 2.505e-06/0.3669, allocations: 1.641 kB / 0.6176 GB, free: 31.39 MB / 0.4981 GB Notification: Performance of matching and sorting (n=78): time 0.01468/0.3816, allocations: 3.826 MB / 0.6213 GB, free: 30.99 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.3816, allocations: 189.5 kB / 0.6215 GB, free: 30.77 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006047/0.3822, allocations: 0.6787 MB / 0.6222 GB, free: 30.64 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.339e-05/0.3823, allocations: 39.67 kB / 0.6222 GB, free: 30.61 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.3824, allocations: 356.3 kB / 0.6225 GB, free: 30.46 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/0.3826, allocations: 244.2 kB / 0.6228 GB, free: 30.3 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.26e-05/0.3827, allocations: 65.83 kB / 0.6228 GB, free: 30.29 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.071e-05/0.3827, allocations: 388.2 kB / 0.6232 GB, free: 29.97 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008728/0.3836, allocations: 408.5 kB / 0.6236 GB, free: 29.97 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000907/0.3845, allocations: 498.5 kB / 0.6241 GB, free: 29.89 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001656/0.3862, allocations: 0.855 MB / 0.6249 GB, free: 29.78 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3862, allocations: 0 / 0.6249 GB, free: 29.78 MB / 0.4981 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.006607/0.3928, allocations: 2.045 MB / 0.6269 GB, free: 29.41 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.957e-05/0.3929, allocations: 70.38 kB / 0.627 GB, free: 29.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006642/0.3995, allocations: 2.025 MB / 0.629 GB, free: 28.87 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001511/0.401, allocations: 0.6425 MB / 0.6296 GB, free: 28.72 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004067/0.4014, allocations: 120.7 kB / 0.6297 GB, free: 28.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0131/0.4145, allocations: 5.674 MB / 0.6352 GB, free: 25.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005077/0.4151, allocations: 94.66 kB / 0.6353 GB, free: 25.56 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.748e-05/0.4151, allocations: 27.34 kB / 0.6354 GB, free: 25.55 MB / 0.4981 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.0003089/0.4155, allocations: 278.5 kB / 0.6356 GB, free: 25.37 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001278/0.4156, allocations: 74.66 kB / 0.6357 GB, free: 25.33 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007329/0.4229, allocations: 2.123 MB / 0.6378 GB, free: 24.82 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.556e-05/0.4229, allocations: 11.61 kB / 0.6378 GB, free: 24.82 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.423, allocations: 1.219 kB / 0.6378 GB, free: 24.82 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.423, allocations: 3.75 kB / 0.6378 GB, free: 24.82 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009379/0.4239, allocations: 0.9099 MB / 0.6387 GB, free: 24.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.007169/0.4311, allocations: 1.975 MB / 0.6406 GB, free: 23.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003409/0.4314, allocations: 97.28 kB / 0.6407 GB, free: 23.92 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001606/0.4331, allocations: 0.6435 MB / 0.6413 GB, free: 23.77 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.452e-05/0.4331, allocations: 21.55 kB / 0.6413 GB, free: 23.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01389/0.447, allocations: 5.661 MB / 0.6469 GB, free: 20.65 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.447, allocations: 1.547 kB / 0.6469 GB, free: 20.65 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007148/0.4542, allocations: 2.215 MB / 0.649 GB, free: 19.99 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.4543, allocations: 170.7 kB / 0.6492 GB, free: 19.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.827e-05/0.4544, allocations: 17.28 kB / 0.6492 GB, free: 19.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005234/0.4549, allocations: 52.69 kB / 0.6493 GB, free: 19.81 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002175/0.4552, allocations: 91.58 kB / 0.6493 GB, free: 19.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.536e-05/0.4552, allocations: 26.05 kB / 0.6494 GB, free: 19.79 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005309/0.4558, allocations: 0.4883 MB / 0.6498 GB, free: 19.58 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4558, allocations: 0 / 0.6498 GB, free: 19.58 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000744/0.4565, allocations: 272.3 kB / 0.6501 GB, free: 19.52 MB / 0.4981 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.008338/0.4649, allocations: 3.267 MB / 0.6533 GB, free: 18.2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003335/0.4682, allocations: 1.542 MB / 0.6548 GB, free: 17.46 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.4682, allocations: 4 kB / 0.6548 GB, free: 17.45 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002163/0.4704, allocations: 0.9812 MB / 0.6558 GB, free: 16.98 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007516/0.4712, allocations: 116.7 kB / 0.6559 GB, free: 16.93 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02073/0.4919, allocations: 9.762 MB / 0.6654 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004211/0.4923, allocations: 1 MB / 0.6664 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004817/0.4928, allocations: 206.8 kB / 0.6666 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003422/0.4932, allocations: 318.1 kB / 0.6669 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of SimCode: time 3.91e-07/0.4932, allocations: 0 / 0.6669 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.826/4.32, allocations: 23.24 MB / 0.6896 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002679/4.32, allocations: 315.9 kB / 0.6899 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.064/6.384, allocations: 4 kB / 0.6899 GB, free: 10.18 MB / 0.5137 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)