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.001052/0.001053, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001143/0.001143, allocations: 189.8 kB / 16.25 MB, free: 6.625 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.152/1.152, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.8455/0.8455, allocations: 143 MB / 433.1 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001053/0.001053, allocations: 67.89 kB / 0.5138 GB, free: 11.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1189, allocations: 82.03 MB / 0.5939 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BaseClasses.HeatTransfer.Examples.ValidationLWRLinear): time 0.003776/0.1227, allocations: 3.359 MB / 0.5972 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003112/0.1258, allocations: 2.765 MB / 0.5999 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000165/0.126, allocations: 11.94 kB / 0.5999 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003279/0.1263, allocations: 111.2 kB / 0.6 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004328/0.1268, allocations: 198.9 kB / 0.6002 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008986/0.1277, allocations: 0.5267 MB / 0.6007 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000829/0.1285, allocations: 1.088 MB / 0.6018 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003312/0.1289, allocations: 300.8 kB / 0.602 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003536/0.1292, allocations: 430.7 kB / 0.6024 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004653/0.1297, allocations: 486.2 kB / 0.6029 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001135/0.1298, allocations: 104 kB / 0.603 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004417/0.1303, allocations: 403.5 kB / 0.6034 GB, free: 128 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.1968/0.3271, allocations: 314.4 kB / 0.6037 GB, free: 38.01 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004025/0.3275, allocations: 483.6 kB / 0.6042 GB, free: 37.95 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001018/0.3285, allocations: 1.335 MB / 0.6055 GB, free: 37.81 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3285, allocations: 2.844 kB / 0.6055 GB, free: 37.81 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3285, allocations: 0 / 0.6055 GB, free: 37.81 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.157e-06/0.3285, allocations: 0 / 0.6055 GB, free: 37.81 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.001664/0.3302, allocations: 1.293 MB / 0.6067 GB, free: 37.04 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.3302, allocations: 8.594 kB / 0.6067 GB, free: 37.04 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001107/0.3304, allocations: 123.8 kB / 0.6069 GB, free: 37 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002608/0.3306, allocations: 125.2 kB / 0.607 GB, free: 36.95 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005773/0.3312, allocations: 0.6018 MB / 0.6076 GB, free: 36.66 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001415/0.3314, allocations: 145.1 kB / 0.6077 GB, free: 36.59 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.636e-05/0.3315, allocations: 62.75 kB / 0.6078 GB, free: 36.59 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001492/0.333, allocations: 0.9564 MB / 0.6087 GB, free: 36.46 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.333, allocations: 0.9688 kB / 0.6087 GB, free: 36.46 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.727e-05/0.3331, allocations: 25.94 kB / 0.6087 GB, free: 36.46 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.3331, allocations: 20.67 kB / 0.6087 GB, free: 36.46 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002074/0.3352, allocations: 1.093 MB / 0.6098 GB, free: 36.45 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002874/0.338, allocations: 2.936 MB / 0.6127 GB, free: 35.16 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001644/0.3397, allocations: 0.9624 MB / 0.6136 GB, free: 35.11 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008499/0.3406, allocations: 0.5006 MB / 0.6141 GB, free: 35.09 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004243/0.341, allocations: 0.5336 MB / 0.6146 GB, free: 34.52 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/0.341, allocations: 43.42 kB / 0.6147 GB, free: 34.47 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=78): time 2.545e-06/0.341, allocations: 0 / 0.6147 GB, free: 34.47 MB / 0.4981 GB Notification: Performance of matching and sorting (n=78): time 0.01348/0.3545, allocations: 3.788 MB / 0.6184 GB, free: 33.64 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.3546, allocations: 201.8 kB / 0.6186 GB, free: 33.41 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005787/0.3551, allocations: 0.6802 MB / 0.6192 GB, free: 33.12 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.962e-05/0.3552, allocations: 36.23 kB / 0.6193 GB, free: 33.08 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.3553, allocations: 358 kB / 0.6196 GB, free: 32.8 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001171/0.3555, allocations: 247.1 kB / 0.6198 GB, free: 32.61 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001816/0.3557, allocations: 123.5 kB / 0.6199 GB, free: 32.55 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.957e-05/0.3557, allocations: 391.4 kB / 0.6203 GB, free: 32.21 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007945/0.3565, allocations: 408.7 kB / 0.6207 GB, free: 32.07 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000816/0.3574, allocations: 493.2 kB / 0.6212 GB, free: 31.86 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00151/0.3589, allocations: 0.8586 MB / 0.622 GB, free: 31.46 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3589, allocations: 0 / 0.622 GB, free: 31.46 MB / 0.4981 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00619/0.3651, allocations: 2.038 MB / 0.624 GB, free: 30.93 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.929e-05/0.3651, allocations: 57.06 kB / 0.6241 GB, free: 30.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006217/0.3713, allocations: 2.022 MB / 0.626 GB, free: 30.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001374/0.3727, allocations: 0.6422 MB / 0.6267 GB, free: 30.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004135/0.3732, allocations: 120.4 kB / 0.6268 GB, free: 30.24 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01325/0.3864, allocations: 6.174 MB / 0.6328 GB, free: 26.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005255/0.387, allocations: 85.95 kB / 0.6329 GB, free: 26.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.265e-05/0.387, allocations: 33.36 kB / 0.6329 GB, free: 26.82 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.0003236/0.3874, allocations: 277.8 kB / 0.6332 GB, free: 26.64 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001447/0.3875, allocations: 78.33 kB / 0.6333 GB, free: 26.6 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006844/0.3944, allocations: 2.115 MB / 0.6353 GB, free: 26.09 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/0.3944, allocations: 11.31 kB / 0.6353 GB, free: 26.09 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.3944, allocations: 1.781 kB / 0.6353 GB, free: 26.09 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.3944, allocations: 4.625 kB / 0.6353 GB, free: 26.09 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009215/0.3953, allocations: 0.9022 MB / 0.6362 GB, free: 25.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.006625/0.402, allocations: 1.957 MB / 0.6381 GB, free: 25.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003433/0.4023, allocations: 102.7 kB / 0.6382 GB, free: 25.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001478/0.4038, allocations: 0.6395 MB / 0.6389 GB, free: 25.05 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-05/0.4039, allocations: 20.48 kB / 0.6389 GB, free: 25.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01391/0.4178, allocations: 6.163 MB / 0.6449 GB, free: 21.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.4178, allocations: 0.9375 kB / 0.6449 GB, free: 21.67 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006768/0.4246, allocations: 2.207 MB / 0.6471 GB, free: 21.01 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.4247, allocations: 157.2 kB / 0.6472 GB, free: 20.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/0.4248, allocations: 15.64 kB / 0.6472 GB, free: 20.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004928/0.4253, allocations: 48.22 kB / 0.6473 GB, free: 20.85 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000251/0.4256, allocations: 102.5 kB / 0.6474 GB, free: 20.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.226e-05/0.4256, allocations: 26.22 kB / 0.6474 GB, free: 20.82 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005259/0.4262, allocations: 499.9 kB / 0.6479 GB, free: 20.61 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4262, allocations: 1.25 kB / 0.6479 GB, free: 20.61 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000773/0.427, allocations: 267.5 kB / 0.6481 GB, free: 20.54 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.00797/0.4349, allocations: 3.25 MB / 0.6513 GB, free: 19.23 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003454/0.4384, allocations: 1.688 MB / 0.6529 GB, free: 18.47 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4384, allocations: 1.375 kB / 0.6529 GB, free: 18.47 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00208/0.4405, allocations: 0.9788 MB / 0.6539 GB, free: 18 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007202/0.4412, allocations: 140 kB / 0.654 GB, free: 17.94 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01963/0.4609, allocations: 9.735 MB / 0.6635 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003819/0.4613, allocations: 1.005 MB / 0.6645 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004736/0.4617, allocations: 201.4 kB / 0.6647 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003388/0.4621, allocations: 323.5 kB / 0.665 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of SimCode: time 6.92e-07/0.4621, allocations: 0 / 0.665 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6729/1.135, allocations: 24.4 MB / 0.6889 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002831/1.135, allocations: 326.6 kB / 0.6892 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.14/3.275, allocations: 0 / 0.6892 GB, free: 10.47 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)