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.001233/0.001233, 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.001099/0.001099, allocations: 194.2 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.301/1.301, allocations: 222.9 MB / 240.2 MB, free: 4.422 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.9374/0.9374, allocations: 143 MB / 433.4 MB, free: 11.41 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 63.91 kB / 0.5143 GB, free: 11.56 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1355, allocations: 82.04 MB / 0.5944 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BaseClasses.HeatTransfer.Examples.ValidationLWRLinear): time 0.004609/0.1402, allocations: 3.325 MB / 0.5976 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004147/0.1444, allocations: 2.82 MB / 0.6004 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003744/0.1448, allocations: 11.94 kB / 0.6004 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000468/0.1453, allocations: 134.8 kB / 0.6005 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006825/0.146, allocations: 238.4 kB / 0.6008 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001342/0.1473, allocations: 0.5789 MB / 0.6013 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001106/0.1484, allocations: 1.088 MB / 0.6024 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004318/0.1489, allocations: 296.8 kB / 0.6027 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005664/0.1494, allocations: 422.8 kB / 0.6031 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006802/0.1501, allocations: 486.3 kB / 0.6035 GB, free: 80 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.2222/0.3723, allocations: 102.4 kB / 0.6036 GB, free: 38.01 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000817/0.3731, allocations: 393.1 kB / 0.604 GB, free: 38.01 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002124/0.3733, allocations: 308.9 kB / 0.6043 GB, free: 38.01 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003529/0.3737, allocations: 483.1 kB / 0.6048 GB, free: 37.93 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009469/0.3747, allocations: 1.343 MB / 0.6061 GB, free: 37.78 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.3747, allocations: 0 / 0.6061 GB, free: 37.78 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.01e-07/0.3747, allocations: 0 / 0.6061 GB, free: 37.78 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.748e-06/0.3747, allocations: 0 / 0.6061 GB, free: 37.78 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.001762/0.3765, allocations: 1.287 MB / 0.6073 GB, free: 37.01 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.3765, allocations: 15.47 kB / 0.6073 GB, free: 37.01 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001209/0.3766, allocations: 121 kB / 0.6075 GB, free: 36.97 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002794/0.3769, allocations: 119.4 kB / 0.6076 GB, free: 36.92 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006072/0.3775, allocations: 0.6049 MB / 0.6082 GB, free: 36.62 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001563/0.3777, allocations: 146 kB / 0.6083 GB, free: 36.55 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.839e-05/0.3778, allocations: 64.72 kB / 0.6084 GB, free: 36.55 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001594/0.3794, allocations: 0.9512 MB / 0.6093 GB, free: 36.43 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.3794, allocations: 2.812 kB / 0.6093 GB, free: 36.43 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-05/0.3795, allocations: 28.84 kB / 0.6093 GB, free: 36.43 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.283e-05/0.3795, allocations: 17.69 kB / 0.6093 GB, free: 36.43 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002302/0.3818, allocations: 1.098 MB / 0.6104 GB, free: 36.43 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003145/0.385, allocations: 2.93 MB / 0.6133 GB, free: 35.14 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001819/0.3868, allocations: 0.9663 MB / 0.6142 GB, free: 35.08 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009654/0.3878, allocations: 0.5058 MB / 0.6147 GB, free: 34.96 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004473/0.3883, allocations: 0.5304 MB / 0.6152 GB, free: 34.39 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.3883, allocations: 51.56 kB / 0.6153 GB, free: 34.34 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=78): time 2.294e-06/0.3883, allocations: 0 / 0.6153 GB, free: 34.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=78): time 0.01503/0.4033, allocations: 3.783 MB / 0.619 GB, free: 33.51 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/0.4034, allocations: 200.3 kB / 0.6192 GB, free: 33.28 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006327/0.404, allocations: 0.6801 MB / 0.6198 GB, free: 32.99 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.148e-05/0.4041, allocations: 36.45 kB / 0.6199 GB, free: 32.95 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001576/0.4042, allocations: 355 kB / 0.6202 GB, free: 32.67 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001252/0.4044, allocations: 243.2 kB / 0.6204 GB, free: 32.48 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002024/0.4046, allocations: 125 kB / 0.6206 GB, free: 32.43 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.88e-05/0.4047, allocations: 395.2 kB / 0.6209 GB, free: 32.08 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009069/0.4056, allocations: 410.9 kB / 0.6213 GB, free: 31.94 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009309/0.4065, allocations: 492.3 kB / 0.6218 GB, free: 31.73 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001729/0.4083, allocations: 0.858 MB / 0.6226 GB, free: 31.33 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.4083, allocations: 2.656 kB / 0.6226 GB, free: 31.33 MB / 0.4981 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.006694/0.415, allocations: 2.033 MB / 0.6246 GB, free: 30.81 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.318e-05/0.415, allocations: 64 kB / 0.6247 GB, free: 30.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006601/0.4216, allocations: 2.027 MB / 0.6267 GB, free: 30.26 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001516/0.4232, allocations: 0.6351 MB / 0.6273 GB, free: 30.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004401/0.4236, allocations: 121 kB / 0.6274 GB, free: 30.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01435/0.438, allocations: 6.175 MB / 0.6334 GB, free: 26.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006149/0.4386, allocations: 82.05 kB / 0.6335 GB, free: 26.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.441e-05/0.4387, allocations: 28.72 kB / 0.6335 GB, free: 26.7 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.0003596/0.439, allocations: 280.9 kB / 0.6338 GB, free: 26.52 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001604/0.4392, allocations: 75 kB / 0.6339 GB, free: 26.48 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007182/0.4464, allocations: 2.053 MB / 0.6359 GB, free: 25.98 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.167e-05/0.4464, allocations: 11.34 kB / 0.6359 GB, free: 25.98 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.4464, allocations: 9 kB / 0.6359 GB, free: 25.98 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/0.4464, allocations: 4.453 kB / 0.6359 GB, free: 25.98 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.4475, allocations: 0.8982 MB / 0.6368 GB, free: 25.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.007133/0.4546, allocations: 1.963 MB / 0.6387 GB, free: 25.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003663/0.455, allocations: 100.1 kB / 0.6388 GB, free: 25.08 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001622/0.4566, allocations: 0.64 MB / 0.6394 GB, free: 24.94 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.854e-05/0.4567, allocations: 25.36 kB / 0.6394 GB, free: 24.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01516/0.4718, allocations: 6.169 MB / 0.6455 GB, free: 21.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.4719, allocations: 1.062 kB / 0.6455 GB, free: 21.55 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007483/0.4794, allocations: 2.205 MB / 0.6476 GB, free: 20.89 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001471/0.4795, allocations: 151.2 kB / 0.6478 GB, free: 20.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/0.4796, allocations: 14.41 kB / 0.6478 GB, free: 20.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005245/0.4802, allocations: 51.45 kB / 0.6478 GB, free: 20.73 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002645/0.4804, allocations: 96.88 kB / 0.6479 GB, free: 20.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.227e-05/0.4805, allocations: 26.31 kB / 0.6479 GB, free: 20.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005832/0.4811, allocations: 499.9 kB / 0.6484 GB, free: 20.48 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.61e-07/0.4811, allocations: 0 / 0.6484 GB, free: 20.48 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008449/0.482, allocations: 272.7 kB / 0.6487 GB, free: 20.42 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.009013/0.491, allocations: 3.244 MB / 0.6518 GB, free: 19.11 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004002/0.495, allocations: 1.691 MB / 0.6535 GB, free: 18.35 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.495, allocations: 0 / 0.6535 GB, free: 18.35 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002238/0.4973, allocations: 0.98 MB / 0.6544 GB, free: 17.88 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008186/0.4981, allocations: 130.8 kB / 0.6546 GB, free: 17.83 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02764/0.5258, allocations: 9.421 MB / 0.6638 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007417/0.5266, allocations: 1.006 MB / 0.6648 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0009491/0.5275, allocations: 198.1 kB / 0.6649 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006183/0.5282, allocations: 316.4 kB / 0.6652 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of SimCode: time 9.62e-07/0.5282, allocations: 0 / 0.6652 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06754/0.5957, allocations: 24.43 MB / 0.6891 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.29/12.89, allocations: 7.922 kB / 0.6891 GB, free: 10.54 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)