Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_Integrand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_Integrand",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.001252/0.001253, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001505/0.001505, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 223.2 MB / 239.9 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.377/2.377, allocations: 390.3 MB / 0.6653 GB, free: 3 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0006025/0.0006028, allocations: 16 kB / 0.8147 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7546/0.7552, allocations: 142.3 MB / 0.9536 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand): time 0.00103/0.7563, allocations: 297.5 kB / 0.9539 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002688/0.759, allocations: 1.536 MB / 0.9554 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.648e-05/0.759, allocations: 7.938 kB / 0.9554 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.963e-05/0.7591, allocations: 0 / 0.9554 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.54e-05/0.7592, allocations: 1.094 kB / 0.9554 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006522/0.7598, allocations: 143.7 kB / 0.9556 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.587e-05/0.7599, allocations: 18.33 kB / 0.9556 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.649e-05/0.76, allocations: 1.125 kB / 0.9556 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.617e-05/0.76, allocations: 8.297 kB / 0.9556 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.427e-05/0.7601, allocations: 11.61 kB / 0.9556 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.7601, allocations: 1.062 kB / 0.9556 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007513/0.7609, allocations: 288.7 kB / 0.9559 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.511e-05/0.7609, allocations: 7.625 kB / 0.9559 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.905e-05/0.761, allocations: 31.98 kB / 0.9559 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002702/0.7613, allocations: 105 kB / 0.956 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.7613, allocations: 0 / 0.956 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.405e-06/0.7613, allocations: 0 / 0.956 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.969e-06/0.7613, allocations: 0 / 0.956 GB, free: 6.344 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004194/0.7617, allocations: 359.7 kB / 0.9564 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.479e-05/0.7618, allocations: 9.656 kB / 0.9564 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.23e-05/0.7619, allocations: 31.66 kB / 0.9564 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/0.7629, allocations: 73.09 kB / 0.9565 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.763, allocations: 172.8 kB / 0.9566 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.763, allocations: 2.031 kB / 0.9566 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.476e-05/0.7631, allocations: 5.062 kB / 0.9566 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002198/0.7633, allocations: 79.97 kB / 0.9567 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.7633, allocations: 0 / 0.9567 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/0.7633, allocations: 0 / 0.9567 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.7633, allocations: 1.406 kB / 0.9567 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002882/0.7636, allocations: 89.17 kB / 0.9568 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002279/0.7639, allocations: 187.2 kB / 0.957 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002031/0.7641, allocations: 85.92 kB / 0.9571 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.7641, allocations: 5.344 kB / 0.9571 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.7642, allocations: 31.94 kB / 0.9571 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.423e-06/0.7642, allocations: 0 / 0.9571 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0004505/0.7646, allocations: 141.8 kB / 0.9572 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.016e-05/0.7647, allocations: 59.36 kB / 0.9573 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.929e-05/0.7647, allocations: 100.3 kB / 0.9574 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.7648, allocations: 35.08 kB / 0.9574 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.007e-05/0.7648, allocations: 80.14 kB / 0.9575 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.053e-05/0.7649, allocations: 22.42 kB / 0.9575 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.398e-05/0.7649, allocations: 0 / 0.9575 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.513e-05/0.765, allocations: 317 kB / 0.9578 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.79e-05/0.7651, allocations: 30.94 kB / 0.9579 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.363e-05/0.7651, allocations: 35.78 kB / 0.9579 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001045/0.7653, allocations: 37.03 kB / 0.9579 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.7653, allocations: 1.469 kB / 0.9579 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002904/0.7656, allocations: 116.8 kB / 0.958 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.7656, allocations: 5.531 kB / 0.958 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.7656, allocations: 0 / 0.958 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.7656, allocations: 5.609 kB / 0.958 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002535/0.7659, allocations: 18.03 kB / 0.9581 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.7659, allocations: 3.953 kB / 0.9581 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001564/0.7661, allocations: 7.469 kB / 0.9581 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.083e-05/0.7661, allocations: 6.359 kB / 0.9581 GB, free: 4.371 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.964e-05/0.7662, allocations: 113.6 kB / 0.9582 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.7662, allocations: 5.906 kB / 0.9582 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005619/0.7668, allocations: 214.7 kB / 0.9584 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.7668, allocations: 1.75 kB / 0.9584 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.7668, allocations: 0 / 0.9584 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.7669, allocations: 9.781 kB / 0.9584 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001916/0.7671, allocations: 210.6 kB / 0.9586 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.7671, allocations: 5.75 kB / 0.9586 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002369/0.7673, allocations: 28.36 kB / 0.9586 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.7673, allocations: 1.344 kB / 0.9586 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/0.7673, allocations: 1.25 kB / 0.9586 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.7674, allocations: 1.312 kB / 0.9586 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.7674, allocations: 3.953 kB / 0.9586 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003647/0.7677, allocations: 190.5 kB / 0.9588 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.393e-05/0.7678, allocations: 91.77 kB / 0.9589 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.972e-05/0.7678, allocations: 9.359 kB / 0.9589 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.768, allocations: 6.75 kB / 0.9589 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.067e-05/0.768, allocations: 8.109 kB / 0.9589 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.837e-05/0.768, allocations: 8.078 kB / 0.9589 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.121e-05/0.7681, allocations: 83.41 kB / 0.959 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.21e-07/0.7681, allocations: 0 / 0.959 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0005846/0.7687, allocations: 65.39 kB / 0.9591 GB, free: 3.508 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001014/0.7697, allocations: 0.8109 MB / 0.9599 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003031/0.77, allocations: 102.2 kB / 0.96 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.77, allocations: 0 / 0.96 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001575/0.7702, allocations: 77.52 kB / 0.9601 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000173/0.7704, allocations: 9.125 kB / 0.9601 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008082/0.7712, allocations: 288.3 kB / 0.9603 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001677/0.7714, allocations: 0.6979 MB / 0.961 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.00016/0.7716, allocations: 31.19 kB / 0.9611 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.7717, allocations: 29.41 kB / 0.9611 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of SimCode: time 3.3e-07/0.7717, allocations: 4.938 kB / 0.9611 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01903/0.7907, allocations: 3.337 MB / 0.9643 GB, free: 192 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002975/0.7911, allocations: 269.1 kB / 0.9646 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.799/2.59, allocations: 3.75 kB / 0.9646 GB, free: 15.83 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_Integrand_fmu --startTime=0.01 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_Integrand.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand_res.mat does not exist to compare? outputFormat=mat