Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.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 (/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.Interfaces.Tests.Test_p_out_clipping,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Interfaces_Tests_Test_p_out_clipping",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Interfaces.Tests.Test_p_out_clipping,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Interfaces_Tests_Test_p_out_clipping",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.006025/0.006025, allocations: 95.17 kB / 15.73 MB, free: 6.047 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.001378/0.001378, allocations: 206.4 kB / 16.68 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 1.019/1.019, allocations: 93.71 MB / 384.3 MB, free: 6.91 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002225/0.002225, allocations: 79.88 kB / 0.5199 GB, free: 6.324 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1879/0.1901, allocations: 68.27 MB / 0.5866 GB, free: 1.977 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Interfaces.Tests.Test_p_out_clipping): time 0.7766/0.9668, allocations: 161.8 MB / 0.7446 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01809/0.985, allocations: 12.66 MB / 0.757 GB, free: 4.234 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001537/0.9866, allocations: 39.75 kB / 0.757 GB, free: 4.195 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002039/0.9886, allocations: 0.6645 MB / 0.7577 GB, free: 3.527 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004254/0.9929, allocations: 1.165 MB / 0.7588 GB, free: 2.355 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003362/0.9963, allocations: 0.8888 MB / 0.7597 GB, free: 1.465 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003477/0.9998, allocations: 1.904 MB / 0.7615 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006787/1.001, allocations: 360.5 kB / 0.7619 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001838/1.002, allocations: 0.8252 MB / 0.7627 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001658/1.004, allocations: 1.075 MB / 0.7637 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002278/1.004, allocations: 132 kB / 0.7639 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004497/1.009, allocations: 1.529 MB / 0.7654 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005309/1.009, allocations: 382.7 kB / 0.7657 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001151/1.01, allocations: 0.7151 MB / 0.7664 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00578/1.016, allocations: 2.187 MB / 0.7686 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/1.016, allocations: 4 kB / 0.7686 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.074e-06/1.016, allocations: 0 / 0.7686 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.33e-05/1.016, allocations: 0 / 0.7686 GB, free: 8.336 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.00551/1.022, allocations: 2.077 MB / 0.7706 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.364e-05/1.022, allocations: 12.03 kB / 0.7706 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002242/1.022, allocations: 147.2 kB / 0.7707 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000374/1.023, allocations: 163.1 kB / 0.7709 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001835/1.024, allocations: 0.9763 MB / 0.7719 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001371/1.025, allocations: 99.69 kB / 0.772 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001901/1.025, allocations: 95.95 kB / 0.772 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002542/1.027, allocations: 1.485 MB / 0.7735 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.849e-05/1.027, allocations: 0 / 0.7735 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001134/1.027, allocations: 39.94 kB / 0.7735 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.068e-05/1.028, allocations: 49.97 kB / 0.7736 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00341/1.031, allocations: 2.049 MB / 0.7756 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009443/1.04, allocations: 5.222 MB / 0.7807 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00219/1.043, allocations: 1.304 MB / 0.782 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001346/1.044, allocations: 0.8856 MB / 0.7828 GB, free: 9.336 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007426/1.052, allocations: 4.707 MB / 0.7874 GB, free: 4.043 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.412e-05/1.052, allocations: 47.5 kB / 0.7875 GB, free: 3.988 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=119): time 3.907e-06/1.052, allocations: 0 / 0.7875 GB, free: 3.988 MB / 0.6231 GB Notification: Performance of matching and sorting (n=121): time 0.012/1.064, allocations: 5.289 MB / 0.7926 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.401e-05/1.064, allocations: 94.11 kB / 0.7927 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001794/1.066, allocations: 0.9178 MB / 0.7936 GB, free: 13.47 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001095/1.066, allocations: 45.7 kB / 0.7937 GB, free: 13.42 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005147/1.066, allocations: 473.7 kB / 0.7941 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005298/1.067, allocations: 440.1 kB / 0.7945 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004964/1.067, allocations: 250.7 kB / 0.7948 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002112/1.068, allocations: 349.9 kB / 0.7951 GB, free: 11.92 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001232/1.069, allocations: 0.635 MB / 0.7957 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001389/1.07, allocations: 0.7612 MB / 0.7965 GB, free: 10.49 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002789/1.073, allocations: 1.476 MB / 0.7979 GB, free: 8.992 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.423e-06/1.073, allocations: 0 / 0.7979 GB, free: 8.992 MB / 0.6387 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.004245/1.077, allocations: 1.984 MB / 0.7998 GB, free: 6.996 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.165e-05/1.077, allocations: 4 kB / 0.7998 GB, free: 6.992 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.724e-05/1.077, allocations: 4 kB / 0.7999 GB, free: 6.988 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001103/1.078, allocations: 353.6 kB / 0.8002 GB, free: 6.641 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/1.08, allocations: 231.5 kB / 0.8004 GB, free: 6.414 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006498/1.086, allocations: 3.889 MB / 0.8042 GB, free: 2.387 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001421/1.088, allocations: 35.97 kB / 0.8042 GB, free: 2.352 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003735/1.088, allocations: 59.94 kB / 0.8043 GB, free: 2.293 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (112): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(7,23,57.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001131/1.089, allocations: 330.1 kB / 0.8046 GB, free: 1.961 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005804/1.09, allocations: 131.2 kB / 0.8047 GB, free: 1.832 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005435/1.095, allocations: 2.778 MB / 0.8075 GB, free: 15 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-05/1.095, allocations: 12 kB / 0.8075 GB, free: 14.99 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.727e-05/1.095, allocations: 4 kB / 0.8075 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.92e-05/1.095, allocations: 7.969 kB / 0.8075 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007016/1.102, allocations: 3.416 MB / 0.8108 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.838e-05/1.102, allocations: 4 kB / 0.8108 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009547/1.103, allocations: 179.6 kB / 0.811 GB, free: 11.31 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001094/1.104, allocations: 404.8 kB / 0.8114 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001338/1.105, allocations: 43.94 kB / 0.8114 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006264/1.111, allocations: 3.885 MB / 0.8152 GB, free: 6.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/1.111, allocations: 4 kB / 0.8152 GB, free: 6.836 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005959/1.117, allocations: 2.816 MB / 0.818 GB, free: 3.992 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009519/1.118, allocations: 348.1 kB / 0.8183 GB, free: 3.633 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004349/1.118, allocations: 24 kB / 0.8183 GB, free: 3.609 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/1.119, allocations: 27.98 kB / 0.8183 GB, free: 3.582 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002911/1.12, allocations: 104.7 kB / 0.8184 GB, free: 3.477 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001344/1.12, allocations: 48.73 kB / 0.8185 GB, free: 3.43 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001435/1.121, allocations: 0.7001 MB / 0.8192 GB, free: 2.723 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.7e-07/1.121, allocations: 0 / 0.8192 GB, free: 2.723 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002158/1.123, allocations: 487.4 kB / 0.8196 GB, free: 2.246 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (flowResistance.m_flow,fan.m_flow,fan.phi,fan.omega,basicControlValve.m_flow,specificValveType.m_flow,tanValve.m_flow,nozzle.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 (79): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(7,23,57.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008082/1.132, allocations: 3.982 MB / 0.8235 GB, free: 14.37 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004867/1.136, allocations: 1.934 MB / 0.8254 GB, free: 12.41 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/1.137, allocations: 0 / 0.8254 GB, free: 12.41 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002848/1.139, allocations: 1.188 MB / 0.8266 GB, free: 11.21 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003375/1.143, allocations: 432.9 kB / 0.827 GB, free: 10.8 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02629/1.169, allocations: 12.09 MB / 0.8388 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00139/1.171, allocations: 1.172 MB / 0.8399 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001455/1.172, allocations: 351.3 kB / 0.8403 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001013/1.173, allocations: 479.2 kB / 0.8407 GB, free: 12.49 MB / 0.6856 GB Notification: Performance of SimCode: time 1.623e-06/1.173, allocations: 0 / 0.8407 GB, free: 12.49 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5463/1.719, allocations: 38.03 MB / 0.8779 GB, free: 230.5 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.66/17.38, allocations: 13.05 kB / 0.8779 GB, free: 230.5 MB / 0.6856 GB (rm -f ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Interfaces_Tests_Test_p_out_clipping_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Interfaces_Tests_Test_p_out_clipping.fmu > ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe 2>&1)