Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Processes.Internal.CentrifugalPump.CalculateCoefficientsFromMeasurements.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0002161/0.0002161, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000205/0.000205, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.1122/0.1122, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.09656/0.09656, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: simulate(ThermofluidStream.Processes.Internal.CentrifugalPump.CalculateCoefficientsFromMeasurements,startTime=0,stopTime=1,tolerance=1e-06,numberOfIntervals=1000,outputFormat="mat",variableFilter="CPUtime|EventCounter|Time|_derdummy|_dummy|c.P_ref|c.V_flow_ref|c.c_head.[0-9,]+.|c.c_power.[0-9,]+.|c.eta_ref|c.head_ref|c.rho_ref|c.tau_ref|c.w_ref|coefficients.P_0n|coefficients.V_0n|coefficients.V_flow_peak|coefficients.dp_peak|coefficients.eta_peak|coefficients.h_0n|coefficients.head_peak|coefficients.head_ref_internal|coefficients.rho_ref|coefficients.w_ref|measurements.N|measurements.P.[0-9,]+.|measurements.V_flow.[0-9,]+.|measurements.dp.[0-9,]+.|measurements.head.[0-9,]+.|measurements.rho_ref|measurements.w_ref",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Processes.Internal.CentrifugalPump.CalculateCoefficientsFromMeasurements",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(ThermofluidStream.Processes.Internal.CentrifugalPump.CalculateCoefficientsFromMeasurements,startTime=0,stopTime=1,tolerance=1e-06,numberOfIntervals=1000,outputFormat="mat",variableFilter="CPUtime|EventCounter|Time|_derdummy|_dummy|c.P_ref|c.V_flow_ref|c.c_head.[0-9,]+.|c.c_power.[0-9,]+.|c.eta_ref|c.head_ref|c.rho_ref|c.tau_ref|c.w_ref|coefficients.P_0n|coefficients.V_0n|coefficients.V_flow_peak|coefficients.dp_peak|coefficients.eta_peak|coefficients.h_0n|coefficients.head_peak|coefficients.head_ref_internal|coefficients.rho_ref|coefficients.w_ref|measurements.N|measurements.P.[0-9,]+.|measurements.V_flow.[0-9,]+.|measurements.dp.[0-9,]+.|measurements.head.[0-9,]+.|measurements.rho_ref|measurements.w_ref",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Processes.Internal.CentrifugalPump.CalculateCoefficientsFromMeasurements",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 3.046e-05/3.206e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Internal.CentrifugalPump.CalculateCoefficientsFromMeasurements): time 0.002311/0.002343, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.004006/0.006349, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 7.01e-05/0.006419, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0006411/0.00706, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.001289/0.008349, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0001294/0.008478, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.01465/0.02313, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 4.497e-05/0.02317, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 8.371e-05/0.02326, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 8.53e-05/0.02334, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 2.257e-05/0.02336, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 5.347e-05/0.02342, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 8.674e-05/0.02351, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 5.616e-05/0.02356, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0002189/0.02378, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 2.304e-05/0.0238, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 5.37e-06/0.02381, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.574e-05/0.02382, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005097/0.02433, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 7.496e-05/0.02441, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 5.278e-05/0.02446, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002777/0.02474, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.02475, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/0.02476, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 2.481e-05/0.02479, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.02479, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.363e-05/0.02483, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.02484, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 1.195e-05/0.02485, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002942/0.02515, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 7.029e-05/0.02522, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 1.89e-05/0.02524, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 9.157e-06/0.02524, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002048/0.02545, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=1): time 4.168e-06/0.02545, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=1): time 0.000157/0.02561, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.02565, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.02578, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.0258, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 2.098e-05/0.02582, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 2.164e-05/0.02584, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 2.348e-05/0.02586, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 1.847e-05/0.02588, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 7.635e-06/0.02589, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 8.395e-06/0.0259, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 2.112e-05/0.02592, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.02592, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=1) (initialization): time 4.698e-05/0.02597, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/0.02599, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.026, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.02601, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.34e-06/0.02602, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.126e-06/0.02602, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.387e-05/0.02607, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.785e-05/0.02608, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 7.164e-05/0.02615, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 1.822e-05/0.02617, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.626e-05/0.02621, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.02621, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.02622, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.02622, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/0.02634, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.02634, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.402e-06/0.02634, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.02634, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.02636, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.02636, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.02636, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 6.512e-05/0.02643, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 3.2e-05/0.02646, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.451e-05/0.02655, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.522e-05/0.02661, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 2.382e-05/0.02663, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.513e-06/0.02664, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 6.736e-05/0.02671, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 5.821e-06/0.02671, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.000317/0.02703, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 1 ($whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0002846/0.02731, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 9.184e-05/0.02741, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.02741, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 1.452e-05/0.02743, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002818/0.02771, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006169/0.02833, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 6.314e-05/0.02839, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 4.035e-05/0.02843, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002599/0.02869, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 3.48e-05/0.02872, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.002209/0.03093, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 900] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Processes.Internal.CentrifugalPump.CalculateCoefficientsFromMeasurements_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Internal.CentrifugalPump.CalculateCoefficientsFromMeasurements_ref.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable CPUtime in file ThermofluidStream_dev_ThermofluidStream.Processes.Internal.CentrifugalPump.CalculateCoefficientsFromMeasurements_res.mat. Warning: Get data of variable CPUtime from file ThermofluidStream_dev_ThermofluidStream.Processes.Internal.CentrifugalPump.CalculateCoefficientsFromMeasurements_res.mat failed! Error: Could not read variable EventCounter in file ThermofluidStream_dev_ThermofluidStream.Processes.Internal.CentrifugalPump.CalculateCoefficientsFromMeasurements_res.mat. Warning: Get data of variable EventCounter from file ThermofluidStream_dev_ThermofluidStream.Processes.Internal.CentrifugalPump.CalculateCoefficientsFromMeasurements_res.mat failed! Error: Could not read variable _derdummy in file ThermofluidStream_dev_ThermofluidStream.Processes.Internal.CentrifugalPump.CalculateCoefficientsFromMeasurements_res.mat. Warning: Get data of variable _derdummy from file ThermofluidStream_dev_ThermofluidStream.Processes.Internal.CentrifugalPump.CalculateCoefficientsFromMeasurements_res.mat failed! Error: Could not read variable _dummy in file ThermofluidStream_dev_ThermofluidStream.Processes.Internal.CentrifugalPump.CalculateCoefficientsFromMeasurements_res.mat. Warning: Get data of variable _dummy from file ThermofluidStream_dev_ThermofluidStream.Processes.Internal.CentrifugalPump.CalculateCoefficientsFromMeasurements_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 0.925108402967453]