Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.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/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/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(ThermofluidStream.Processes.Tests.Nozzle,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_Nozzle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.Nozzle,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_Nozzle",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.001066/0.001066, allocations: 91.77 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 223.3 MB / 240 MB, free: 5.203 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7242/0.7242, allocations: 89.65 MB / 380.7 MB, free: 11.38 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004011/0.0004012, allocations: 14.12 kB / 460.1 MB, free: 24.3 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1556, allocations: 68.84 MB / 0.5166 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.6063/0.7619, allocations: 236.7 MB / 0.7477 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01672/0.7786, allocations: 11.88 MB / 0.7593 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001506/0.7802, allocations: 11.94 kB / 0.7593 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002377/0.7826, allocations: 0.6291 MB / 0.7599 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01332/0.7959, allocations: 4.041 MB / 0.7639 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005393/0.8014, allocations: 1.676 MB / 0.7655 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002945/0.8043, allocations: 2.161 MB / 0.7676 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005114/0.8048, allocations: 289 kB / 0.7679 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002283/0.8071, allocations: 1 MB / 0.7689 GB, free: 9.176 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000871/0.808, allocations: 0.6886 MB / 0.7696 GB, free: 8.484 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.497e-05/0.8081, allocations: 44 kB / 0.7696 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01713/0.8253, allocations: 8.612 MB / 0.778 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004938/0.8258, allocations: 306.9 kB / 0.7783 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004062/0.8262, allocations: 241.1 kB / 0.7785 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.007303/0.8335, allocations: 3.637 MB / 0.7821 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.8336, allocations: 0 / 0.7821 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.054e-06/0.8336, allocations: 0 / 0.7821 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.736e-05/0.8336, allocations: 4 kB / 0.7821 GB, free: 11.62 MB / 0.5919 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.005655/0.8393, allocations: 2.233 MB / 0.7843 GB, free: 9.34 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/0.8393, allocations: 12.02 kB / 0.7843 GB, free: 9.328 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002023/0.8395, allocations: 144.1 kB / 0.7844 GB, free: 9.18 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001943/0.8397, allocations: 126.5 kB / 0.7845 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00114/0.8409, allocations: 0.5842 MB / 0.7851 GB, free: 8.43 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.046e-05/0.841, allocations: 81.92 kB / 0.7852 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001821/0.8412, allocations: 99.88 kB / 0.7853 GB, free: 8.25 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002129/0.8433, allocations: 1.362 MB / 0.7866 GB, free: 6.871 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.301e-05/0.8433, allocations: 0 / 0.7866 GB, free: 6.871 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.585e-05/0.8434, allocations: 39.95 kB / 0.7866 GB, free: 6.832 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001165/0.8435, allocations: 89.88 kB / 0.7867 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002221/0.8458, allocations: 1.499 MB / 0.7882 GB, free: 5.242 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007428/0.8532, allocations: 5.108 MB / 0.7932 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001531/0.8548, allocations: 0.8518 MB / 0.794 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009482/0.8558, allocations: 0.6727 MB / 0.7947 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002162/0.858, allocations: 2.418 MB / 0.797 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/0.858, allocations: 43.69 kB / 0.7971 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=114): time 3.838e-06/0.858, allocations: 0 / 0.7971 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of matching and sorting (n=114): time 0.003793/0.8618, allocations: 2.053 MB / 0.7991 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.979e-05/0.8619, allocations: 94.23 kB / 0.7992 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008387/0.8628, allocations: 0.602 MB / 0.7998 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.52e-05/0.8629, allocations: 49.69 kB / 0.7998 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002983/0.8632, allocations: 392.9 kB / 0.8002 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003555/0.8635, allocations: 390.3 kB / 0.8005 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.679e-05/0.8636, allocations: 19.98 kB / 0.8006 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.8637, allocations: 341.9 kB / 0.8009 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000707/0.8645, allocations: 457.8 kB / 0.8013 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007485/0.8652, allocations: 0.5162 MB / 0.8018 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008148/0.866, allocations: 0.508 MB / 0.8023 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.866, allocations: 3.938 kB / 0.8023 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002283/0.8683, allocations: 1.348 MB / 0.8037 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.8684, allocations: 4 kB / 0.8037 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.8684, allocations: 4 kB / 0.8037 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004294/0.8688, allocations: 125.6 kB / 0.8038 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007209/0.8696, allocations: 187.7 kB / 0.804 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002871/0.8724, allocations: 3.109 MB / 0.807 GB, free: 0.5703 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007254/0.8732, allocations: 99.03 kB / 0.8071 GB, free: 484 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001651/0.8733, allocations: 68.03 kB / 0.8072 GB, free: 416 kB / 0.6075 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): 98 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005729/0.8739, allocations: 253.6 kB / 0.8074 GB, free: 152 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002008/0.8741, allocations: 90.88 kB / 0.8075 GB, free: 60 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2821/1.156, allocations: 2.022 MB / 0.8095 GB, free: 226 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.423e-05/1.156, allocations: 13.39 kB / 0.8095 GB, free: 226 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.143e-05/1.156, allocations: 1.812 kB / 0.8095 GB, free: 226 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-05/1.156, allocations: 6.312 kB / 0.8095 GB, free: 226 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005519/1.162, allocations: 2.885 MB / 0.8123 GB, free: 225.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.978e-06/1.162, allocations: 1.094 kB / 0.8123 GB, free: 225.4 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000656/1.163, allocations: 176.3 kB / 0.8125 GB, free: 225.4 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004322/1.163, allocations: 130.8 kB / 0.8126 GB, free: 225.3 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001025/1.163, allocations: 38.86 kB / 0.8126 GB, free: 225.3 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002482/1.166, allocations: 3.124 MB / 0.8157 GB, free: 222.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/1.166, allocations: 1.875 kB / 0.8157 GB, free: 222.5 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003477/1.169, allocations: 2.175 MB / 0.8178 GB, free: 221.4 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004362/1.17, allocations: 198 kB / 0.818 GB, free: 221.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000203/1.17, allocations: 25.69 kB / 0.818 GB, free: 221.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005817/1.17, allocations: 45.66 kB / 0.8181 GB, free: 221.2 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001566/1.171, allocations: 95.27 kB / 0.8181 GB, free: 221.2 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001382/1.171, allocations: 56.5 kB / 0.8182 GB, free: 221.2 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007019/1.171, allocations: 476.8 kB / 0.8187 GB, free: 221 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.21e-07/1.171, allocations: 0 / 0.8187 GB, free: 221 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.003429/1.175, allocations: 0.9737 MB / 0.8196 GB, free: 220.8 MB / 0.6075 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 (102): * Single equations (assignments): 92 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008391/1.183, allocations: 3.91 MB / 0.8234 GB, free: 219.1 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002657/1.186, allocations: 1.467 MB / 0.8249 GB, free: 218.4 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/1.186, allocations: 0 / 0.8249 GB, free: 218.4 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001353/1.187, allocations: 0.922 MB / 0.8258 GB, free: 217.9 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002151/1.19, allocations: 354.7 kB / 0.8261 GB, free: 217.8 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01264/1.202, allocations: 6.73 MB / 0.8327 GB, free: 214.6 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007108/1.203, allocations: 1.096 MB / 0.8337 GB, free: 213.8 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001746/1.205, allocations: 0.6381 MB / 0.8344 GB, free: 213.7 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005883/1.205, allocations: 428.6 kB / 0.8348 GB, free: 213.4 MB / 0.6075 GB Notification: Performance of SimCode: time 1.052e-06/1.205, allocations: 1.375 kB / 0.8348 GB, free: 213.4 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07009/1.275, allocations: 43.83 MB / 0.8776 GB, free: 179.3 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001878/1.276, allocations: 244.8 kB / 0.8778 GB, free: 179.1 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.545/4.82, allocations: 0 / 0.8778 GB, free: 179.1 MB / 0.6075 GB (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Processes_Tests_Nozzle_fmu --startTime=0 --stopTime=10 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Processes_Tests_Nozzle.fmu > ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle_res.mat does not exist to compare? outputFormat=mat