Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.HeatExchangers.Tests.ConductionElementTwoPhase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Undirected.HeatExchangers.Tests.ConductionElementTwoPhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="PI.x|Time|conductionElementHEX_twoPhase.h|conductionElementHEX_twoPhase.rear.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.HeatExchangers.Tests.ConductionElementTwoPhase") translateModel(ThermofluidStream.Undirected.HeatExchangers.Tests.ConductionElementTwoPhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="PI.x|Time|conductionElementHEX_twoPhase.h|conductionElementHEX_twoPhase.rear.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.HeatExchangers.Tests.ConductionElementTwoPhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008322/0.0008322, allocations: 171.4 kB / 16.11 MB, free: 5.66 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.173/1.173, allocations: 205 MB / 221.9 MB, free: 9.145 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006883/0.0006884, allocations: 87.81 kB / 269.9 MB, free: 8.664 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.5933/0.5933, allocations: 90.51 MB / 408.3 MB, free: 3.941 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0002635/0.0002635, allocations: 8.281 kB / 484.9 MB, free: 7.215 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2285/0.2288, allocations: 65.82 MB / 0.5378 GB, free: 34.95 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/Undirected/Sensors/Internal/PartialSensor.mo:28:3-28:36:writable] Warning: An inner declaration for outer component dropOfCommons could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/Undirected/Sensors/Internal/PartialSensor.mo:28:3-28:36:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer "dropOfCommons" component but an inner "dropOfCommons" component is not defined. Use ThermoFluidStream.DropOfCommons in your model to specify system properties. Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.HeatExchangers.Tests.ConductionElementTwoPhase): time 0.0435/0.2723, allocations: 52.36 MB / 0.5889 GB, free: 2.59 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.03715/0.3095, allocations: 40.31 MB / 0.6283 GB, free: 10.15 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006717/0.3102, allocations: 11.94 kB / 0.6283 GB, free: 10.14 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001103/0.3113, allocations: 457.6 kB / 0.6287 GB, free: 9.688 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007305/0.3186, allocations: 3.064 MB / 0.6317 GB, free: 6.609 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009184/0.3278, allocations: 3.171 MB / 0.6348 GB, free: 3.426 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.001545/0.3294, allocations: 1.576 MB / 0.6363 GB, free: 1.844 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002985/0.3297, allocations: 233.4 kB / 0.6366 GB, free: 1.602 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006005/0.3303, allocations: 461.9 kB / 0.637 GB, free: 1.148 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004046/0.3307, allocations: 449.9 kB / 0.6374 GB, free: 0.707 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 5.707e-05/0.3308, allocations: 28 kB / 0.6375 GB, free: 0.6797 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0573/0.3881, allocations: 45.7 MB / 0.6821 GB, free: 2.762 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002182/0.3884, allocations: 115.4 kB / 0.6822 GB, free: 2.648 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004763/0.3888, allocations: 393.8 kB / 0.6826 GB, free: 2.262 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.2847/0.6735, allocations: 35.32 MB / 0.7171 GB, free: 51.92 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.6736, allocations: 0 / 0.7171 GB, free: 51.92 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.774e-06/0.6736, allocations: 0.6562 kB / 0.7171 GB, free: 51.92 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.352e-05/0.6736, allocations: 0 / 0.7171 GB, free: 51.92 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.01125/0.6849, allocations: 1.898 MB / 0.7189 GB, free: 50.09 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.6849, allocations: 8.031 kB / 0.7189 GB, free: 50.09 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007861/0.6857, allocations: 176.2 kB / 0.7191 GB, free: 49.94 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004204/0.6861, allocations: 452.2 kB / 0.7195 GB, free: 49.55 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.387e-05/0.6862, allocations: 46.5 kB / 0.7196 GB, free: 49.53 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.95e-05/0.6863, allocations: 61.44 kB / 0.7196 GB, free: 49.49 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/0.6873, allocations: 0.7809 MB / 0.7204 GB, free: 48.95 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.6874, allocations: 3.984 kB / 0.7204 GB, free: 48.94 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.035e-05/0.6874, allocations: 22 kB / 0.7204 GB, free: 48.94 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.254e-05/0.6875, allocations: 28.73 kB / 0.7204 GB, free: 48.92 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001139/0.6886, allocations: 0.6426 MB / 0.7211 GB, free: 48.48 MB / 0.4948 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002668/0.6913, allocations: 4.102 MB / 0.7251 GB, free: 44.64 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009269/0.6922, allocations: 488.2 kB / 0.7255 GB, free: 44.32 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004901/0.6927, allocations: 325 kB / 0.7259 GB, free: 44.12 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003846/0.6966, allocations: 5.108 MB / 0.7308 GB, free: 38.2 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.655e-05/0.6966, allocations: 37.03 kB / 0.7309 GB, free: 38.16 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=79): time 2.425e-06/0.6966, allocations: 2.734 kB / 0.7309 GB, free: 38.16 MB / 0.4948 GB Notification: Performance of matching and sorting (n=79): time 0.001969/0.6986, allocations: 1.055 MB / 0.7319 GB, free: 37.35 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.943e-05/0.6986, allocations: 81.55 kB / 0.732 GB, free: 37.25 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002641/0.6989, allocations: 380.6 kB / 0.7324 GB, free: 36.95 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.267e-05/0.6989, allocations: 32.3 kB / 0.7324 GB, free: 36.92 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.6991, allocations: 314.7 kB / 0.7327 GB, free: 36.68 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.6992, allocations: 256.7 kB / 0.7329 GB, free: 36.47 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.456e-05/0.6992, allocations: 7.938 kB / 0.7329 GB, free: 36.46 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.287e-05/0.6993, allocations: 366.8 kB / 0.7333 GB, free: 36.12 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004825/0.6998, allocations: 250.9 kB / 0.7335 GB, free: 35.96 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005099/0.7003, allocations: 349.4 kB / 0.7339 GB, free: 35.7 MB / 0.4948 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElementHEX_twoPhase.deltaE_system = $START.conductionElementHEX_twoPhase.deltaE_system (0.0 = $START.conductionElementHEX_twoPhase.deltaE_system) Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/0.7014, allocations: 0.7085 MB / 0.7346 GB, free: 35.18 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.7014, allocations: 2.656 kB / 0.7346 GB, free: 35.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001328/0.7027, allocations: 0.7691 MB / 0.7353 GB, free: 34.62 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.796e-05/0.7028, allocations: 138.3 kB / 0.7354 GB, free: 34.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.7028, allocations: 4 kB / 0.7354 GB, free: 34.46 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001712/0.703, allocations: 47.23 kB / 0.7355 GB, free: 34.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004082/0.7034, allocations: 118.9 kB / 0.7356 GB, free: 34.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007694/0.7042, allocations: 1.436 MB / 0.737 GB, free: 32.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004045/0.7046, allocations: 96.36 kB / 0.7371 GB, free: 32.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.68e-05/0.7046, allocations: 27.8 kB / 0.7371 GB, free: 32.78 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.827e-06/0.7046, allocations: 4 kB / 0.7371 GB, free: 32.77 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001151/0.7058, allocations: 0.6548 MB / 0.7378 GB, free: 32.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-06/0.7058, allocations: 5.359 kB / 0.7378 GB, free: 32.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000107/0.7059, allocations: 44.64 kB / 0.7378 GB, free: 32.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003782/0.7063, allocations: 115.7 kB / 0.7379 GB, free: 32.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000689/0.707, allocations: 1.428 MB / 0.7393 GB, free: 30.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003569/0.7074, allocations: 89.05 kB / 0.7394 GB, free: 30.68 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.592e-05/0.7074, allocations: 26.14 kB / 0.7394 GB, free: 30.66 MB / 0.4948 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: conductionElementHEX_twoPhase.deltaE_system = $START.conductionElementHEX_twoPhase.deltaE_system. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 8 (conductionElementHEX_twoPhase.state.phase,boundary_rear.fore.state_rearwards.phase,boundary_rear.fore.state_forwards.phase,flowResistance.fore.state_rearwards.phase,flowResistance.fore.state_forwards.phase,multiSensor_Tpm.rear.state_rearwards.phase,multiSensor_Tpm.fore.state_forwards.phase,multiSensor_Tpm.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002175/0.7077, allocations: 271.8 kB / 0.7397 GB, free: 30.44 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/0.7078, allocations: 59.28 kB / 0.7397 GB, free: 30.38 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00171/0.7095, allocations: 1.094 MB / 0.7408 GB, free: 29.63 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/0.7095, allocations: 7.984 kB / 0.7408 GB, free: 29.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.7095, allocations: 0 / 0.7408 GB, free: 29.62 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001709/0.7097, allocations: 223.9 kB / 0.741 GB, free: 29.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.623e-05/0.7098, allocations: 11.88 kB / 0.741 GB, free: 29.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003776/0.7102, allocations: 68.86 kB / 0.7411 GB, free: 29.37 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.456e-05/0.7102, allocations: 43.06 kB / 0.7411 GB, free: 29.33 MB / 0.4948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00175/0.712, allocations: 1.091 MB / 0.7422 GB, free: 28.54 MB / 0.4948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00201/0.714, allocations: 1.604 MB / 0.7438 GB, free: 27.41 MB / 0.4948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005695/0.7146, allocations: 454.6 kB / 0.7442 GB, free: 27.15 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001825/0.7148, allocations: 258.4 kB / 0.7445 GB, free: 26.95 MB / 0.4948 GB Notification: Performance of Backend: time 5.11e-07/0.7148, allocations: 0 / 0.7445 GB, free: 26.95 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.09212/0.8069, allocations: 17.8 MB / 0.7618 GB, free: 10 MB / 0.4948 GB Notification: Performance of SimCode: time 0.002103/0.8091, allocations: 2.695 MB / 0.7645 GB, free: 7.379 MB / 0.4948 GB Notification: Performance of Templates: time 0.06758/0.8766, allocations: 55.29 MB / 0.8185 GB, free: 1.348 MB / 0.5417 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.HeatExchangers.Tests.ConductionElementTwoPhase.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.HeatExchangers.Tests.ConductionElementTwoPhase.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.HeatExchangers.Tests.ConductionElementTwoPhase.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.HeatExchangers.Tests.ConductionElementTwoPhase.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.HeatExchangers.Tests.ConductionElementTwoPhase.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.HeatExchangers.Tests.ConductionElementTwoPhase -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.HeatExchangers.Tests.ConductionElementTwoPhase.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.HeatExchangers.Tests.ConductionElementTwoPhase_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Undirected.HeatExchangers.Tests.ConductionElementTwoPhase_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.HeatExchangers.Tests.ConductionElementTwoPhase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches