Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001472/0.001472, 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.001452/0.001452, allocations: 194.3 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.307/1.307, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.588/2.588, allocations: 469.8 MB / 0.7424 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001762/0.001762, allocations: 68.12 kB / 0.9087 GB, free: 34.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.241/0.2428, allocations: 159.2 MB / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand): time 0.001719/0.2445, allocations: 0.592 MB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002023/0.2466, allocations: 1.604 MB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.091e-05/0.2466, allocations: 0 / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.175e-05/0.2466, allocations: 0 / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.772e-05/0.2467, allocations: 0 / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006118/0.2473, allocations: 205 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.267e-05/0.2474, allocations: 23.92 kB / 1.066 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.921e-05/0.2474, allocations: 8 kB / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.589e-05/0.2474, allocations: 4 kB / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.81e-05/0.2475, allocations: 11.91 kB / 1.067 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.121e-05/0.2475, allocations: 4 kB / 1.067 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004598/0.2479, allocations: 275.5 kB / 1.067 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.104e-05/0.248, allocations: 4 kB / 1.067 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.659e-05/0.248, allocations: 11.94 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002627/0.2483, allocations: 163.7 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.2483, allocations: 0 / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2483, allocations: 4 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.2483, allocations: 4 kB / 1.067 GB, free: 11.26 MB / 0.8262 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.000368/0.2487, allocations: 367.6 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.2487, allocations: 8.031 kB / 1.067 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.976e-05/0.2488, allocations: 34.73 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007606/0.2495, allocations: 76.86 kB / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.2497, allocations: 164.3 kB / 1.068 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.2497, allocations: 384 / 1.068 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.406e-05/0.2497, allocations: 8.312 kB / 1.068 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.2499, allocations: 85.72 kB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.2499, allocations: 0 / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.2499, allocations: 0 / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.256e-06/0.2499, allocations: 0 / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002038/0.2501, allocations: 91.81 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001961/0.2503, allocations: 177.7 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001509/0.2505, allocations: 86.45 kB / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.132e-05/0.2506, allocations: 36.95 kB / 1.068 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.2506, allocations: 3.984 kB / 1.068 GB, free: 9.984 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.2506, allocations: 38.5 kB / 1.068 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 9.51e-07/0.2506, allocations: 0 / 1.068 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5): time 0.00032/0.2509, allocations: 149.4 kB / 1.068 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/0.251, allocations: 55.39 kB / 1.068 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.058e-05/0.2511, allocations: 102.1 kB / 1.068 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.2511, allocations: 25.7 kB / 1.068 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.038e-05/0.2511, allocations: 88.12 kB / 1.068 GB, free: 9.488 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.527e-05/0.2512, allocations: 19.73 kB / 1.068 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.071e-05/0.2512, allocations: 25.69 kB / 1.069 GB, free: 9.438 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.2514, allocations: 318.8 kB / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.068e-05/0.2514, allocations: 28.22 kB / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.477e-05/0.2515, allocations: 35.97 kB / 1.069 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.2516, allocations: 76.8 kB / 1.069 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2517, allocations: 0 / 1.069 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000203/0.2519, allocations: 113.5 kB / 1.069 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.2519, allocations: 9.703 kB / 1.069 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.2519, allocations: 4 kB / 1.069 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.2519, allocations: 0 / 1.069 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001726/0.2521, allocations: 15.97 kB / 1.069 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.2521, allocations: 4 kB / 1.069 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.844e-05/0.2522, allocations: 7.938 kB / 1.069 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/0.2522, allocations: 7.984 kB / 1.069 GB, free: 8.812 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.076e-05/0.2523, allocations: 113.8 kB / 1.069 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.183e-05/0.2523, allocations: 7.844 kB / 1.069 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003954/0.2527, allocations: 221.2 kB / 1.069 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.2527, allocations: 0 / 1.069 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.2528, allocations: 4 kB / 1.069 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.2528, allocations: 3.984 kB / 1.069 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001847/0.253, allocations: 213.5 kB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.253, allocations: 4 kB / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001616/0.2531, allocations: 35.92 kB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.2531, allocations: 0 / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.2532, allocations: 0 / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.267e-06/0.2532, allocations: 4 kB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2532, allocations: 4 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002592/0.2534, allocations: 186.5 kB / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.672e-05/0.2535, allocations: 92.89 kB / 1.07 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.051e-05/0.2535, allocations: 7.984 kB / 1.07 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.386e-05/0.2536, allocations: 4 kB / 1.07 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.559e-05/0.2536, allocations: 15.92 kB / 1.07 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.2536, allocations: 4 kB / 1.07 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.491e-05/0.2537, allocations: 87.28 kB / 1.07 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2537, allocations: 0 / 1.07 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002649/0.254, allocations: 63.98 kB / 1.07 GB, free: 7.664 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007798/0.2548, allocations: 0.8095 MB / 1.071 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000223/0.255, allocations: 115.8 kB / 1.071 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.255, allocations: 0 / 1.071 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.2551, allocations: 75.91 kB / 1.071 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001344/0.2552, allocations: 11.94 kB / 1.071 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005196/0.2558, allocations: 274.3 kB / 1.071 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.2561, allocations: 0.6963 MB / 1.072 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.616e-05/0.2562, allocations: 20.3 kB / 1.072 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.425e-05/0.2562, allocations: 27.42 kB / 1.072 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.2562, allocations: 0 / 1.072 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.382/1.638, allocations: 3.625 MB / 1.076 GB, free: 2.117 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.86/16.5, allocations: 7.516 kB / 1.076 GB, free: 2.109 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_Integrand_fmu --startTime=0.01 --stopTime=15 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_Integrand.fmu > Buildings_11_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_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand_res.mat does not exist to compare? outputFormat=mat