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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.004778/0.004778, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001274/0.001274, allocations: 194.2 kB / 16.67 MB, free: 5.977 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 1.002/1.002, allocations: 143.3 MB / 433.8 MB, free: 11.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001796/0.001796, allocations: 67.89 kB / 0.5953 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3519/0.3537, allocations: 82.02 MB / 0.6754 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BaseClasses.HeatTransfer.Examples.ValidationLWRLinear): time 0.004359/0.3581, allocations: 3.327 MB / 0.6786 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004454/0.3626, allocations: 2.826 MB / 0.6814 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002779/0.3629, allocations: 12.34 kB / 0.6814 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004462/0.3633, allocations: 129.9 kB / 0.6815 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0005872/0.3639, allocations: 249.7 kB / 0.6818 GB, free: 12 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001352/0.3653, allocations: 0.5864 MB / 0.6823 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001175/0.3665, allocations: 1.09 MB / 0.6834 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004212/0.3669, allocations: 291.1 kB / 0.6837 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005555/0.3675, allocations: 426.5 kB / 0.6841 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006518/0.3681, allocations: 473.3 kB / 0.6845 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001462/0.3683, allocations: 107.1 kB / 0.6846 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007174/0.369, allocations: 404.9 kB / 0.685 GB, free: 9.996 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003229/0.3694, allocations: 307.9 kB / 0.6853 GB, free: 9.773 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000475/0.3699, allocations: 480.4 kB / 0.6858 GB, free: 9.406 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001625/0.3715, allocations: 1.377 MB / 0.6871 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.3715, allocations: 0 / 0.6871 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3715, allocations: 0.875 kB / 0.6871 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.419e-05/0.3715, allocations: 0 / 0.6871 GB, free: 8.406 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.002333/0.3739, allocations: 1.314 MB / 0.6884 GB, free: 7.324 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.3739, allocations: 10.25 kB / 0.6884 GB, free: 7.324 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001568/0.3741, allocations: 121.4 kB / 0.6885 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003397/0.3744, allocations: 124.8 kB / 0.6886 GB, free: 7.16 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000951/0.3754, allocations: 0.6169 MB / 0.6892 GB, free: 6.633 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002093/0.3756, allocations: 143.8 kB / 0.6894 GB, free: 6.531 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001168/0.3757, allocations: 63.28 kB / 0.6894 GB, free: 6.512 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002047/0.3778, allocations: 0.9514 MB / 0.6904 GB, free: 5.91 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.3778, allocations: 0 / 0.6904 GB, free: 5.91 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.074e-05/0.3779, allocations: 35.5 kB / 0.6904 GB, free: 5.883 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.785e-05/0.3779, allocations: 16.41 kB / 0.6904 GB, free: 5.883 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002757/0.3807, allocations: 1.098 MB / 0.6915 GB, free: 5.363 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004623/0.3853, allocations: 2.923 MB / 0.6943 GB, free: 2.551 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002286/0.3876, allocations: 0.9633 MB / 0.6953 GB, free: 1.57 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001236/0.3889, allocations: 0.5059 MB / 0.6958 GB, free: 1.059 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007423/0.3896, allocations: 0.5381 MB / 0.6963 GB, free: 420 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.914e-05/0.3897, allocations: 42.56 kB / 0.6963 GB, free: 368 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=78): time 3.136e-06/0.3897, allocations: 0 / 0.6963 GB, free: 368 kB / 0.5137 GB Notification: Performance of matching and sorting (n=78): time 0.01759/0.4073, allocations: 3.795 MB / 0.7001 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001398/0.4075, allocations: 195.8 kB / 0.7002 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/0.4086, allocations: 0.6759 MB / 0.7009 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001749/0.4088, allocations: 41.7 kB / 0.7009 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000336/0.4091, allocations: 361.1 kB / 0.7013 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000286/0.4094, allocations: 253.7 kB / 0.7015 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002572/0.4097, allocations: 126.3 kB / 0.7016 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002066/0.4099, allocations: 394.7 kB / 0.702 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001121/0.4111, allocations: 401 kB / 0.7024 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001211/0.4123, allocations: 0.4931 MB / 0.7029 GB, free: 9.508 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002175/0.4145, allocations: 0.8517 MB / 0.7037 GB, free: 8.633 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/0.4145, allocations: 0 / 0.7037 GB, free: 8.633 MB / 0.5294 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.008148/0.4226, allocations: 2.051 MB / 0.7057 GB, free: 6.555 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.533e-05/0.4227, allocations: 63.39 kB / 0.7058 GB, free: 6.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007958/0.4307, allocations: 2.02 MB / 0.7078 GB, free: 4.438 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00193/0.4326, allocations: 0.6339 MB / 0.7084 GB, free: 3.797 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005571/0.4332, allocations: 127.8 kB / 0.7085 GB, free: 3.672 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01793/0.4511, allocations: 6.175 MB / 0.7145 GB, free: 13.22 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008141/0.452, allocations: 91.61 kB / 0.7146 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.871e-05/0.4521, allocations: 23.98 kB / 0.7146 GB, free: 13.11 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.0004998/0.4526, allocations: 274.3 kB / 0.7149 GB, free: 12.83 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001851/0.4528, allocations: 83.48 kB / 0.715 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008121/0.4609, allocations: 2.054 MB / 0.717 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.451e-05/0.461, allocations: 8 kB / 0.717 GB, free: 10.67 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.461, allocations: 4 kB / 0.717 GB, free: 10.67 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/0.461, allocations: 11.92 kB / 0.717 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001425/0.4624, allocations: 0.9051 MB / 0.7179 GB, free: 9.699 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.007835/0.4703, allocations: 1.953 MB / 0.7198 GB, free: 7.73 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004309/0.4707, allocations: 99.83 kB / 0.7199 GB, free: 7.633 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001821/0.4726, allocations: 0.6417 MB / 0.7205 GB, free: 6.984 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.677e-05/0.4727, allocations: 19.98 kB / 0.7205 GB, free: 6.965 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01745/0.4901, allocations: 6.162 MB / 0.7266 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.4902, allocations: 0 / 0.7266 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008227/0.4984, allocations: 2.219 MB / 0.7287 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000248/0.4987, allocations: 156.5 kB / 0.7289 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001467/0.4988, allocations: 16 kB / 0.7289 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005547/0.4994, allocations: 55.88 kB / 0.7289 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003049/0.4997, allocations: 91.88 kB / 0.729 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.941e-05/0.4998, allocations: 27.98 kB / 0.7291 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006714/0.5005, allocations: 0.4912 MB / 0.7295 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5005, allocations: 0 / 0.7295 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000899/0.5014, allocations: 271.4 kB / 0.7298 GB, free: 13.16 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.01048/0.5119, allocations: 3.242 MB / 0.733 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.004253/0.5162, allocations: 1.562 MB / 0.7345 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.686e-06/0.5162, allocations: 0 / 0.7345 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002637/0.5188, allocations: 0.9742 MB / 0.7354 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009293/0.5198, allocations: 142.2 kB / 0.7356 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02462/0.5444, allocations: 9.236 MB / 0.7446 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007095/0.5451, allocations: 1.002 MB / 0.7456 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006391/0.5458, allocations: 201.6 kB / 0.7458 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004745/0.5463, allocations: 327.2 kB / 0.7461 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of SimCode: time 8.51e-07/0.5463, allocations: 0 / 0.7461 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0632/0.6095, allocations: 24.77 MB / 0.7703 GB, free: 3.84 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.16/13.77, allocations: 6.391 kB / 0.7703 GB, free: 3.836 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)