Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Nozzle.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: "" <> buildModelFMU(ThermofluidStream.Processes.Tests.Nozzle,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_Nozzle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.Nozzle,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_Nozzle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0007891/0.0007894, allocations: 180.4 kB / 15.45 MB, free: 6.227 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.136/1.136, allocations: 205 MB / 221.2 MB, free: 13.8 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.0007022/0.0007022, allocations: 98.22 kB / 269.2 MB, free: 13.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.5779/0.5779, allocations: 90.52 MB / 407.6 MB, free: 15.4 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002578/0.0002578, allocations: 8 kB / 484.3 MB, free: 2.598 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09548/0.09575, allocations: 65.81 MB / 0.5372 GB, free: 0.6289 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.6185/0.7143, allocations: 271.4 MB / 0.8023 GB, free: 1.723 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01484/0.7292, allocations: 16.33 MB / 0.8182 GB, free: 1.457 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008243/0.7301, allocations: 22.16 kB / 0.8182 GB, free: 1.453 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001872/0.732, allocations: 0.889 MB / 0.8191 GB, free: 1.414 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.01045/0.7424, allocations: 4.668 MB / 0.8237 GB, free: 1.188 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.007782/0.7502, allocations: 3.469 MB / 0.8271 GB, free: 1.039 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.002216/0.7524, allocations: 2.544 MB / 0.8295 GB, free: 1.039 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000356/0.7528, allocations: 298.9 kB / 0.8298 GB, free: 0.9688 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001559/0.7544, allocations: 1.032 MB / 0.8308 GB, free: 0.9062 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005834/0.755, allocations: 0.7027 MB / 0.8315 GB, free: 0.7891 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 7.444e-05/0.755, allocations: 44.22 kB / 0.8316 GB, free: 0.7891 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02116/0.7762, allocations: 15.11 MB / 0.8463 GB, free: 13.22 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003777/0.7766, allocations: 301.4 kB / 0.8466 GB, free: 13.13 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0006529/0.7773, allocations: 0.5362 MB / 0.8471 GB, free: 13.09 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.01295/0.7902, allocations: 7.857 MB / 0.8548 GB, free: 9.641 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.7903, allocations: 0 / 0.8548 GB, free: 9.641 MB / 0.573 GB Notification: Performance of FrontEnd: time 9.72e-07/0.7903, allocations: 0 / 0.8548 GB, free: 9.641 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.4e-05/0.7903, allocations: 0 / 0.8548 GB, free: 9.641 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.004915/0.7952, allocations: 2.655 MB / 0.8574 GB, free: 7.086 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.7953, allocations: 8.031 kB / 0.8574 GB, free: 7.078 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001421/0.7954, allocations: 149.1 kB / 0.8575 GB, free: 6.984 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002015/0.7956, allocations: 126.4 kB / 0.8577 GB, free: 6.859 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006432/0.7963, allocations: 0.5919 MB / 0.8582 GB, free: 6.359 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.422e-05/0.7963, allocations: 67.69 kB / 0.8583 GB, free: 6.316 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001243/0.7964, allocations: 99.39 kB / 0.8584 GB, free: 6.254 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001695/0.7981, allocations: 1.416 MB / 0.8598 GB, free: 5.289 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.7982, allocations: 0 / 0.8598 GB, free: 5.289 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.341e-05/0.7983, allocations: 42.88 kB / 0.8598 GB, free: 5.277 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.249e-05/0.7983, allocations: 83.2 kB / 0.8599 GB, free: 5.207 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001785/0.8001, allocations: 1.553 MB / 0.8614 GB, free: 4.172 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005001/0.8052, allocations: 5.32 MB / 0.8666 GB, free: 15.34 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001305/0.8065, allocations: 0.944 MB / 0.8675 GB, free: 14.74 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008471/0.8073, allocations: 0.7693 MB / 0.8683 GB, free: 14.27 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003277/0.8106, allocations: 4.609 MB / 0.8728 GB, free: 8.938 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.8107, allocations: 50.25 kB / 0.8728 GB, free: 8.883 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=122): time 3.206e-06/0.8107, allocations: 0 / 0.8728 GB, free: 8.883 MB / 0.5886 GB Notification: Performance of matching and sorting (n=122): time 0.003591/0.8143, allocations: 2.337 MB / 0.8751 GB, free: 6.516 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/0.8143, allocations: 92.86 kB / 0.8752 GB, free: 6.406 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004483/0.8148, allocations: 495.1 kB / 0.8757 GB, free: 5.91 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 6.71e-05/0.8149, allocations: 47.81 kB / 0.8757 GB, free: 5.859 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001878/0.815, allocations: 357.1 kB / 0.8761 GB, free: 5.504 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002512/0.8153, allocations: 415.7 kB / 0.8765 GB, free: 5.105 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.31e-05/0.8154, allocations: 24 kB / 0.8765 GB, free: 5.082 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.8155, allocations: 394.7 kB / 0.8769 GB, free: 4.688 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007259/0.8162, allocations: 0.533 MB / 0.8774 GB, free: 4.156 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008184/0.8171, allocations: 0.6021 MB / 0.878 GB, free: 3.551 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001734/0.8188, allocations: 1.229 MB / 0.8792 GB, free: 2.316 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.8188, allocations: 0 / 0.8792 GB, free: 2.316 MB / 0.5886 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002249/0.8211, allocations: 1.531 MB / 0.8807 GB, free: 0.7812 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.8211, allocations: 4 kB / 0.8807 GB, free: 0.7773 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.8211, allocations: 4 kB / 0.8807 GB, free: 0.7734 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003651/0.8215, allocations: 124.2 kB / 0.8808 GB, free: 0.6484 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006017/0.8221, allocations: 191.8 kB / 0.881 GB, free: 480 kB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002417/0.8245, allocations: 3.109 MB / 0.884 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004898/0.825, allocations: 99.2 kB / 0.8841 GB, free: 13.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001575/0.8252, allocations: 99.72 kB / 0.8842 GB, free: 12.92 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (108): * Single equations (assignments): 96 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003504/0.8255, allocations: 253.2 kB / 0.8844 GB, free: 12.68 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001817/0.8257, allocations: 86.91 kB / 0.8845 GB, free: 12.59 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003364/0.8291, allocations: 1.985 MB / 0.8865 GB, free: 10.64 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-05/0.8292, allocations: 23.98 kB / 0.8865 GB, free: 10.61 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/0.8292, allocations: 4 kB / 0.8865 GB, free: 10.61 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/0.8292, allocations: 3.984 kB / 0.8865 GB, free: 10.61 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004176/0.8334, allocations: 3.256 MB / 0.8897 GB, free: 7.332 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.8334, allocations: 7.938 kB / 0.8897 GB, free: 7.324 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005854/0.834, allocations: 201.7 kB / 0.8899 GB, free: 7.137 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003154/0.8343, allocations: 123.9 kB / 0.89 GB, free: 7.016 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.644e-05/0.8344, allocations: 59.95 kB / 0.8901 GB, free: 6.957 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00216/0.8366, allocations: 3.12 MB / 0.8931 GB, free: 3.582 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.8366, allocations: 5.188 kB / 0.8931 GB, free: 3.578 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003296/0.8399, allocations: 2.622 MB / 0.8957 GB, free: 0.9453 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001406/0.84, allocations: 171.2 kB / 0.8958 GB, free: 0.7617 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/0.8402, allocations: 33.8 kB / 0.8959 GB, free: 0.7344 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004558/0.8406, allocations: 55.75 kB / 0.8959 GB, free: 0.6797 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001587/0.8408, allocations: 101 kB / 0.896 GB, free: 0.582 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001345/0.8409, allocations: 99.95 kB / 0.8961 GB, free: 496 kB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003399/0.8413, allocations: 346.8 kB / 0.8964 GB, free: 148 kB / 0.6042 GB Notification: Performance of sort global known variables: time 1.91e-07/0.8413, allocations: 4 kB / 0.8964 GB, free: 144 kB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002807/0.8441, allocations: 1.384 MB / 0.8978 GB, free: 14.76 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (dynamicPressureOutflow1.inlet.m_flow,dynamicPressureOutflow.inlet.m_flow) * 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 (110): * Single equations (assignments): 98 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007465/0.8516, allocations: 5.099 MB / 0.9028 GB, free: 9.836 MB / 0.6198 GB Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {dynamicPressureInflow1.inlet.state.X[1], dynamicPressureInflow1.inlet.state.X[2]} = $TMP_ThermofluidStream_Processes_Tests_Nozzle_source1_outlet_Medium_ThermodynamicState1.X Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {dynamicPressureInflow.inlet.state.X[1], dynamicPressureInflow.inlet.state.X[2]} = $TMP_ThermofluidStream_Processes_Tests_Nozzle_source_outlet_Medium_ThermodynamicState76.X Notification: Performance of simCode: created initialization part: time 0.002619/0.8542, allocations: 1.841 MB / 0.9046 GB, free: 7.969 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.8542, allocations: 0 / 0.9046 GB, free: 7.969 MB / 0.6198 GB Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {dynamicPressureInflow.inlet.state.X[1], dynamicPressureInflow.inlet.state.X[2]} = $TMP_ThermofluidStream_Processes_Tests_Nozzle_source_outlet_Medium_ThermodynamicState153.X Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {dynamicPressureInflow1.inlet.state.X[1], dynamicPressureInflow1.inlet.state.X[2]} = $TMP_ThermofluidStream_Processes_Tests_Nozzle_source1_outlet_Medium_ThermodynamicState228.X Notification: Performance of simCode: created simulation system equations: time 0.001585/0.8558, allocations: 1.22 MB / 0.9058 GB, free: 6.727 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001507/0.8573, allocations: 328.1 kB / 0.9061 GB, free: 6.414 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01216/0.8695, allocations: 9.883 MB / 0.9157 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005463/0.8701, allocations: 1.097 MB / 0.9168 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.00123/0.8713, allocations: 364.6 kB / 0.9171 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000676/0.872, allocations: 471.2 kB / 0.9176 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of SimCode: time 4.31e-07/0.872, allocations: 2.531 kB / 0.9176 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4228/1.295, allocations: 54.81 MB / 0.9711 GB, free: 3.93 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002834/1.295, allocations: 288.8 kB / 0.9714 GB, free: 3.547 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.876/5.171, allocations: 4 kB / 0.9714 GB, free: 3.543 MB / 0.6823 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Nozzle.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Nozzle.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Nozzle.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Nozzle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Nozzle_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_Nozzle_fmu --startTime=0 --stopTime=10 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_Nozzle.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Nozzle.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Nozzle_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Processes.Tests.Nozzle_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Nozzle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches