Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.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.0002855/0.0002855, 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.0002474/0.0002474, 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.1086/0.1086, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo): time 0.07953/0.07953, 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 1.4.0/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.Undirected.Processes.Tests.ConductionElement,startTime=0,stopTime=1,tolerance=1e-06,numberOfIntervals=1000,outputFormat="mat",variableFilter="Time|conductionElement.h|conductionElement.rear.m_flow|conductionElement1.h|conductionElement1.rear.m_flow|conductionElement2.deltaE_system|conductionElement2.h|conductionElement2.rear.m_flow|conductionElement3.h|conductionElement3.rear.m_flow|conductionElement4.deltaE_system|conductionElement4.h|conductionElement4.rear.m_flow|conductionElement5.h|conductionElement5.rear.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.ConductionElement",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(ThermofluidStream.Undirected.Processes.Tests.ConductionElement,startTime=0,stopTime=1,tolerance=1e-06,numberOfIntervals=1000,outputFormat="mat",variableFilter="Time|conductionElement.h|conductionElement.rear.m_flow|conductionElement1.h|conductionElement1.rear.m_flow|conductionElement2.deltaE_system|conductionElement2.h|conductionElement2.rear.m_flow|conductionElement3.h|conductionElement3.rear.m_flow|conductionElement4.deltaE_system|conductionElement4.h|conductionElement4.rear.m_flow|conductionElement5.h|conductionElement5.rear.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.ConductionElement",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.899e-05/3.075e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.ConductionElement): time 0.01754/0.01758, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.006117/0.02369, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0008221/0.02451, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.001092/0.02561, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.004996/0.0306, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.001164/0.03177, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.002487/0.03425, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.000589/0.03484, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.003024/0.03787, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.001026/0.03889, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0001543/0.03905, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.001473/0.04052, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0004086/0.04093, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0007114/0.04164, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.002409/0.04405, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0002689/0.04432, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 4.318e-06/0.04432, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.89e-05/0.04434, 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.002963/0.0473, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0001515/0.04746, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001159/0.04861, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.00206/0.05067, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001409/0.05081, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.000185/0.051, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.001583/0.05258, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 3.918e-05/0.05262, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001132/0.05274, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.973e-05/0.05278, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000825/0.0536, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005752/0.05935, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.001066/0.06042, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0002109/0.06063, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.0004236/0.06105, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.602e-05/0.0611, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=105): time 9.699e-06/0.06111, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=108): time 0.004925/0.06603, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 2.989e-05/0.06606, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009152/0.06698, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 9.254e-05/0.06707, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0004092/0.06748, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0002658/0.06775, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002779/0.06802, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 2.981e-05/0.06805, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002208/0.06828, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003235/0.0686, allocations: 0 / 0, free: 0 / 0 Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement.deltaE_system = $START.conductionElement.deltaE_system (0.0 = $START.conductionElement.deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement1.deltaE_system = $START.conductionElement1.deltaE_system (0.0 = $START.conductionElement1.deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement3.deltaE_system = $START.conductionElement3.deltaE_system (0.0 = $START.conductionElement3.deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement5.deltaE_system = $START.conductionElement5.deltaE_system (0.0 = $START.conductionElement5.deltaE_system) Notification: Performance of analyzeInitialSystem (initialization): time 0.0007807/0.06938, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.374e-05/0.06939, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=168) (initialization): time 0.001181/0.07057, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 2.924e-05/0.0706, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/0.07062, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.0003381/0.07096, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000733/0.07169, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002369/0.07406, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000543/0.0746, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.799e-05/0.0747, allocations: 0 / 0, free: 0 / 0 Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization system: conductionElement.deltaE_system = $START.conductionElement.deltaE_system conductionElement1.deltaE_system = $START.conductionElement1.deltaE_system conductionElement3.deltaE_system = $START.conductionElement3.deltaE_system conductionElement5.deltaE_system = $START.conductionElement5.deltaE_system. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (156): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003842/0.07508, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001768/0.07526, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00178/0.07704, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/0.07705, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.07706, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.07707, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002564/0.07963, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/0.07964, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000571/0.08021, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 0.0003352/0.08055, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.135e-05/0.08062, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00219/0.08281, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.08281, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001234/0.08405, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0004084/0.08446, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004383/0.0849, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004562/0.08535, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002694/0.08562, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.451e-05/0.08571, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0004829/0.08619, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 4.968e-05/0.08624, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.001499/0.08774, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 14 (conductionElement.rear.m_flow,conductionElement.h,conductionElement1.m_flow,conductionElement1.h,conductionElement2.rear.m_flow,conductionElement2.h,conductionElement2.deltaE_system,conductionElement3.rear.m_flow,conductionElement3.h,conductionElement4.rear.m_flow,conductionElement4.h,conductionElement4.deltaE_system,conductionElement5.rear.m_flow,conductionElement5.h) * 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 (102): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007629/0.0885, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.001168/0.08967, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.08967, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0006434/0.09031, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002127/0.09244, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003725/0.09617, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003638/0.09653, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0009453/0.09748, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001106/0.09858, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 7.985e-05/0.09866, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.006102/0.1048, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 900] diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.ConductionElement_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Processes.Tests.ConductionElement_ref.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 1.0766143891960382]