Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.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/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/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(ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValveCoefficients",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValveCoefficients",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.002291/0.002291, allocations: 184.9 kB / 15.76 MB, free: 6.367 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.981/1.981, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001106/0.001106, allocations: 78.88 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2803/0.2803, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004052/0.0004053, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1826/0.183, allocations: 58.86 MB / 490.3 MB, free: 8.578 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.618/6.801, allocations: 2.772 GB / 3.251 GB, free: 139.1 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002448/6.802, allocations: 94.3 kB / 3.251 GB, free: 139 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.25/9.052, allocations: 0.6392 GB / 3.89 GB, free: 46.5 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.224e-06/9.052, allocations: 0 / 3.89 GB, free: 46.5 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001641/9.052, allocations: 47.5 kB / 3.89 GB, free: 46.5 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.01171/9.064, allocations: 2.564 MB / 3.893 GB, free: 45.27 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/9.064, allocations: 15.34 kB / 3.893 GB, free: 45.27 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00086/9.065, allocations: 181.2 kB / 3.893 GB, free: 45.23 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00859/9.074, allocations: 0.9539 MB / 3.894 GB, free: 45.14 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003843/9.078, allocations: 1.002 MB / 3.895 GB, free: 44.82 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002731/9.078, allocations: 110.1 kB / 3.895 GB, free: 44.81 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005862/9.078, allocations: 113.5 kB / 3.895 GB, free: 44.81 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007534/9.086, allocations: 2.281 MB / 3.897 GB, free: 44.37 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.807e-05/9.086, allocations: 9.203 kB / 3.897 GB, free: 44.37 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003849/9.086, allocations: 57.91 kB / 3.897 GB, free: 44.37 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.478e-05/9.087, allocations: 30.12 kB / 3.897 GB, free: 44.37 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005975/9.093, allocations: 2.151 MB / 3.9 GB, free: 44.32 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01498/9.108, allocations: 10.34 MB / 3.91 GB, free: 37.3 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005241/9.113, allocations: 1.654 MB / 3.911 GB, free: 37.27 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04417/9.157, allocations: 23.94 MB / 3.935 GB, free: 22.02 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.45e-05/9.157, allocations: 43.91 kB / 3.935 GB, free: 21.98 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=80): time 4.348e-06/9.157, allocations: 0 / 3.935 GB, free: 21.98 MB / 0.5261 GB Notification: Performance of matching and sorting (n=80): time 0.009578/9.167, allocations: 2.726 MB / 3.937 GB, free: 21.83 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/9.167, allocations: 269.3 kB / 3.938 GB, free: 21.52 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001955/9.169, allocations: 1.026 MB / 3.939 GB, free: 21.36 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001979/9.169, allocations: 42.67 kB / 3.939 GB, free: 21.32 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005129/9.17, allocations: 0.618 MB / 3.939 GB, free: 21.06 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003515/9.17, allocations: 277.2 kB / 3.94 GB, free: 20.88 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.504e-05/9.17, allocations: 21.47 kB / 3.94 GB, free: 20.88 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001225/9.17, allocations: 352.3 kB / 3.94 GB, free: 20.58 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001202/9.171, allocations: 498.4 kB / 3.94 GB, free: 20.56 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001532/9.173, allocations: 0.9234 MB / 3.941 GB, free: 20.02 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001361/9.174, allocations: 0.5668 MB / 3.942 GB, free: 19.98 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.369e-05/9.174, allocations: 7.5 kB / 3.942 GB, free: 19.98 MB / 0.5261 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.003885/9.178, allocations: 1.541 MB / 3.943 GB, free: 19.76 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.002388/9.181, allocations: 4.903 MB / 3.948 GB, free: 30.64 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.936e-05/9.181, allocations: 11.53 kB / 3.948 GB, free: 30.64 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.687e-05/9.181, allocations: 21.47 kB / 3.948 GB, free: 30.64 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001265/9.182, allocations: 360.3 kB / 3.948 GB, free: 30.61 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.701e-05/9.182, allocations: 25.64 kB / 3.948 GB, free: 30.61 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001905/9.184, allocations: 281.5 kB / 3.949 GB, free: 30.51 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001862/9.184, allocations: 68.67 kB / 3.949 GB, free: 30.51 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/9.184, allocations: 3.875 kB / 3.949 GB, free: 30.51 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003012/9.187, allocations: 1.38 MB / 3.95 GB, free: 30.03 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.77e-05/9.187, allocations: 13.16 kB / 3.95 GB, free: 30.03 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.409e-05/9.187, allocations: 22.53 kB / 3.95 GB, free: 30.03 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/9.189, allocations: 350.3 kB / 3.951 GB, free: 30 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.154e-05/9.189, allocations: 25.78 kB / 3.951 GB, free: 29.99 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001719/9.19, allocations: 230.2 kB / 3.951 GB, free: 29.9 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001326/9.19, allocations: 69.22 kB / 3.951 GB, free: 29.89 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 16 (SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase,SourceP4.medium.phase,SinkP4.medium.phase,V4.state_b.phase,V4.state_a.phase,V3.state_b.phase,V3.state_a.phase,V2.state_b.phase,V2.state_a.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (143): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008706/9.191, allocations: 394.7 kB / 3.951 GB, free: 29.57 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004379/9.192, allocations: 145.4 kB / 3.951 GB, free: 29.5 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007827/9.2, allocations: 6.646 MB / 3.958 GB, free: 26.44 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.104e-05/9.2, allocations: 89.36 kB / 3.958 GB, free: 26.41 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.215e-05/9.2, allocations: 0 / 3.958 GB, free: 26.41 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.433e-05/9.2, allocations: 3.469 kB / 3.958 GB, free: 26.41 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004663/9.204, allocations: 3.267 MB / 3.961 GB, free: 24.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.881e-05/9.204, allocations: 0 / 3.961 GB, free: 24.86 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009498/9.205, allocations: 270.4 kB / 3.961 GB, free: 24.84 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.755e-05/9.205, allocations: 7.406 kB / 3.961 GB, free: 24.84 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.51e-05/9.206, allocations: 27.17 kB / 3.961 GB, free: 24.82 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.378e-06/9.206, allocations: 3.875 kB / 3.961 GB, free: 24.82 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/9.206, allocations: 0 / 3.961 GB, free: 24.82 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004051/9.21, allocations: 2.979 MB / 3.964 GB, free: 23.48 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001502/9.211, allocations: 0.9046 MB / 3.965 GB, free: 22.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005382/9.212, allocations: 22.56 kB / 3.965 GB, free: 22.88 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001428/9.213, allocations: 130.4 kB / 3.965 GB, free: 22.85 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002052/9.213, allocations: 108.1 kB / 3.965 GB, free: 22.84 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.204e-05/9.213, allocations: 41.58 kB / 3.966 GB, free: 22.83 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.00262/9.216, allocations: 1.622 MB / 3.967 GB, free: 22.21 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.9e-07/9.216, allocations: 0 / 3.967 GB, free: 22.21 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008563/9.225, allocations: 1.834 MB / 3.969 GB, free: 21.9 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 56 ($cse2.phase,$cse2.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse12.phase,$cse12.region,$cse16.phase,$cse16.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.region,$cse26.phase,$cse26.region,$cse30.phase,$cse30.region,$cse33.phase,$cse33.region,$cse34.phase,$cse34.region,$cse36.phase,$cse36.region,$cse37.phase,$cse37.region,$cse40.phase,$cse40.region,$cse44.phase,$cse44.region,$cse47.phase,$cse47.region,$cse48.phase,$cse48.region,$cse50.phase,$cse50.region,$cse51.phase,$cse51.region,$cse54.phase,$cse54.region,SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase,SourceP4.medium.phase,SinkP4.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 24 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01334/9.238, allocations: 5.397 MB / 3.974 GB, free: 19.19 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.005164/9.243, allocations: 2.59 MB / 3.977 GB, free: 16.91 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.241e-06/9.243, allocations: 0 / 3.977 GB, free: 16.91 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001828/9.245, allocations: 1.466 MB / 3.978 GB, free: 15.57 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00448/9.25, allocations: 0.7951 MB / 3.979 GB, free: 14.99 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02298/9.273, allocations: 16.58 MB / 3.995 GB, free: 14.73 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001894/9.275, allocations: 1.859 MB / 3.997 GB, free: 13.25 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.00387/9.278, allocations: 2.117 MB / 3.999 GB, free: 12 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0015/9.28, allocations: 1.103 MB / 4 GB, free: 10.99 MB / 0.5573 GB Notification: Performance of SimCode: time 1.453e-06/9.28, allocations: 0 / 4 GB, free: 10.99 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4852/9.765, allocations: 88.43 MB / 4.086 GB, free: 64.96 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001752/9.765, allocations: 237.2 kB / 4.087 GB, free: 64.71 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.172/15.94, allocations: 3.375 kB / 4.087 GB, free: 64.71 MB / 0.5573 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValveCoefficients_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValveCoefficients.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients_res.mat does not exist to compare? outputFormat=mat