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.001111/0.001111, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001085/0.001085, allocations: 193 kB / 16.14 MB, free: 6.672 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.147/1.147, allocations: 222.9 MB / 239.8 MB, free: 4.551 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.8176/0.8176, allocations: 143 MB / 433 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001081/0.001081, allocations: 59.91 kB / 0.5136 GB, free: 12.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1187, allocations: 82.05 MB / 0.5937 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BaseClasses.HeatTransfer.Examples.ValidationLWRLinear): time 0.003794/0.1225, allocations: 3.343 MB / 0.597 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003467/0.126, allocations: 2.804 MB / 0.5997 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002647/0.1263, allocations: 11.94 kB / 0.5997 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003753/0.1266, allocations: 111.2 kB / 0.5998 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004695/0.1271, allocations: 195 kB / 0.6 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00104/0.1282, allocations: 0.5226 MB / 0.6005 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0008597/0.129, allocations: 0.9945 MB / 0.6015 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003206/0.1294, allocations: 260.1 kB / 0.6018 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004096/0.1298, allocations: 370.7 kB / 0.6021 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005108/0.1303, allocations: 450.3 kB / 0.6025 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001168/0.1304, allocations: 52 kB / 0.6026 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000485/0.1309, allocations: 351.5 kB / 0.6029 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002232/0.1312, allocations: 267.1 kB / 0.6032 GB, free: 260 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.1957/0.3269, allocations: 427.6 kB / 0.6036 GB, free: 37.61 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001108/0.328, allocations: 1.291 MB / 0.6048 GB, free: 37.58 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.328, allocations: 2.312 kB / 0.6048 GB, free: 37.58 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.22e-07/0.328, allocations: 0 / 0.6048 GB, free: 37.58 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.235e-05/0.328, allocations: 0 / 0.6048 GB, free: 37.58 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.001896/0.3299, allocations: 1.29 MB / 0.6061 GB, free: 36.82 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.33, allocations: 11.72 kB / 0.6061 GB, free: 36.82 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001165/0.3301, allocations: 122.4 kB / 0.6062 GB, free: 36.79 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002901/0.3304, allocations: 122.7 kB / 0.6064 GB, free: 36.73 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006164/0.331, allocations: 0.6003 MB / 0.6069 GB, free: 36.44 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001511/0.3312, allocations: 148.2 kB / 0.6071 GB, free: 36.37 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.68e-05/0.3313, allocations: 66.48 kB / 0.6071 GB, free: 36.37 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001546/0.3328, allocations: 0.9507 MB / 0.6081 GB, free: 36.25 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.3329, allocations: 0 / 0.6081 GB, free: 36.25 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.802e-05/0.3329, allocations: 30.72 kB / 0.6081 GB, free: 36.25 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/0.333, allocations: 17.22 kB / 0.6081 GB, free: 36.25 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002132/0.3351, allocations: 1.104 MB / 0.6092 GB, free: 36.23 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003027/0.3381, allocations: 2.926 MB / 0.6121 GB, free: 34.95 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001668/0.3398, allocations: 0.9616 MB / 0.613 GB, free: 34.9 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008485/0.3407, allocations: 0.4975 MB / 0.6135 GB, free: 34.89 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004214/0.3411, allocations: 0.5393 MB / 0.614 GB, free: 34.32 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/0.3411, allocations: 44.98 kB / 0.614 GB, free: 34.27 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=78): time 1.964e-06/0.3411, allocations: 0 / 0.614 GB, free: 34.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=78): time 0.01345/0.3546, allocations: 3.793 MB / 0.6178 GB, free: 33.73 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.758e-05/0.3546, allocations: 192.2 kB / 0.6179 GB, free: 33.51 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005766/0.3552, allocations: 0.6829 MB / 0.6186 GB, free: 33.21 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.821e-05/0.3553, allocations: 43.36 kB / 0.6186 GB, free: 33.17 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.3554, allocations: 355 kB / 0.619 GB, free: 32.89 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001157/0.3555, allocations: 245.7 kB / 0.6192 GB, free: 32.7 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001798/0.3557, allocations: 125.9 kB / 0.6193 GB, free: 32.64 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.726e-05/0.3558, allocations: 389.1 kB / 0.6197 GB, free: 32.3 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007863/0.3566, allocations: 404.7 kB / 0.6201 GB, free: 32.16 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008047/0.3574, allocations: 0.4884 MB / 0.6206 GB, free: 31.95 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001485/0.3589, allocations: 0.8521 MB / 0.6214 GB, free: 31.55 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.3589, allocations: 3.188 kB / 0.6214 GB, free: 31.55 MB / 0.4981 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.006067/0.365, allocations: 2.033 MB / 0.6234 GB, free: 31.03 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.718e-05/0.365, allocations: 69.06 kB / 0.6235 GB, free: 30.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005951/0.371, allocations: 2.019 MB / 0.6254 GB, free: 30.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001327/0.3723, allocations: 0.6356 MB / 0.626 GB, free: 30.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004035/0.3727, allocations: 124.5 kB / 0.6262 GB, free: 30.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01179/0.3845, allocations: 5.653 MB / 0.6317 GB, free: 27.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004492/0.385, allocations: 90.64 kB / 0.6318 GB, free: 27.19 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.735e-05/0.3851, allocations: 35.12 kB / 0.6318 GB, free: 27.18 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.0002749/0.3853, allocations: 272.2 kB / 0.6321 GB, free: 27 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000138/0.3855, allocations: 76.56 kB / 0.6321 GB, free: 26.96 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006478/0.392, allocations: 2.117 MB / 0.6342 GB, free: 26.46 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/0.392, allocations: 7.156 kB / 0.6342 GB, free: 26.46 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.392, allocations: 1.375 kB / 0.6342 GB, free: 26.46 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.392, allocations: 4.219 kB / 0.6342 GB, free: 26.46 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008757/0.3929, allocations: 0.9121 MB / 0.6351 GB, free: 25.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.006507/0.3994, allocations: 1.96 MB / 0.637 GB, free: 25.56 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003338/0.3997, allocations: 104.5 kB / 0.6371 GB, free: 25.55 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001416/0.4012, allocations: 0.6329 MB / 0.6377 GB, free: 25.41 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.853e-05/0.4012, allocations: 25.84 kB / 0.6378 GB, free: 25.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01261/0.4138, allocations: 5.642 MB / 0.6433 GB, free: 22.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.4139, allocations: 1.219 kB / 0.6433 GB, free: 22.3 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006494/0.4204, allocations: 2.212 MB / 0.6454 GB, free: 21.64 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.735e-05/0.4205, allocations: 155.5 kB / 0.6456 GB, free: 21.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/0.4206, allocations: 22.36 kB / 0.6456 GB, free: 21.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004882/0.4211, allocations: 52.58 kB / 0.6457 GB, free: 21.46 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002318/0.4213, allocations: 90.89 kB / 0.6457 GB, free: 21.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.923e-05/0.4214, allocations: 26.58 kB / 0.6458 GB, free: 21.44 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004988/0.4219, allocations: 0.4934 MB / 0.6463 GB, free: 21.22 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.6e-07/0.4219, allocations: 0 / 0.6463 GB, free: 21.22 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007241/0.4226, allocations: 264.6 kB / 0.6465 GB, free: 21.16 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.007828/0.4304, allocations: 3.243 MB / 0.6497 GB, free: 19.86 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003035/0.4335, allocations: 1.548 MB / 0.6512 GB, free: 19.11 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4335, allocations: 0 / 0.6512 GB, free: 19.11 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001962/0.4355, allocations: 0.9751 MB / 0.6521 GB, free: 18.64 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006824/0.4362, allocations: 130.8 kB / 0.6523 GB, free: 18.59 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01917/0.4553, allocations: 9.721 MB / 0.6618 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000402/0.4558, allocations: 1.013 MB / 0.6627 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004631/0.4562, allocations: 193.2 kB / 0.6629 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003438/0.4566, allocations: 323.2 kB / 0.6632 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of SimCode: time 3.61e-07/0.4566, allocations: 0 / 0.6632 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.016/1.473, allocations: 23.72 MB / 0.6864 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002415/1.473, allocations: 315.6 kB / 0.6867 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.003/3.476, allocations: 0 / 0.6867 GB, free: 12.64 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)