Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.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.Machines.TestWaterPumpCheckValve,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCheckValve",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.001509/0.001509, allocations: 182.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2/2, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.001032/0.001032, allocations: 85.69 kB / 267 MB, free: 9.293 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4655/0.4655, allocations: 43.48 MB / 358.6 MB, free: 51.58 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.031e-05/4.033e-05, allocations: 0 / 425.4 MB, free: 8.105 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.1699, allocations: 58.85 MB / 484.3 MB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.699/6.869, allocations: 2.782 GB / 3.255 GB, free: 115.3 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002271/6.869, allocations: 83.44 kB / 3.255 GB, free: 115.2 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.427/8.296, allocations: 439.5 MB / 3.684 GB, free: 47.95 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.402e-06/8.296, allocations: 3.75 kB / 3.684 GB, free: 47.95 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.053e-05/8.296, allocations: 18.14 kB / 3.684 GB, free: 47.95 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.006162/8.302, allocations: 1.746 MB / 3.685 GB, free: 46.88 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/8.302, allocations: 11.41 kB / 3.685 GB, free: 46.88 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001338/8.302, allocations: 98.55 kB / 3.686 GB, free: 46.8 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002319/8.305, allocations: 329.4 kB / 3.686 GB, free: 46.74 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009437/8.306, allocations: 0.5663 MB / 3.686 GB, free: 46.37 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.475e-05/8.306, allocations: 49.34 kB / 3.687 GB, free: 46.34 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.439e-05/8.306, allocations: 63.84 kB / 3.687 GB, free: 46.32 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001856/8.308, allocations: 0.967 MB / 3.688 GB, free: 45.88 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.203e-05/8.308, allocations: 11.02 kB / 3.688 GB, free: 45.87 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.573e-05/8.308, allocations: 29.58 kB / 3.688 GB, free: 45.85 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.872e-05/8.308, allocations: 26.34 kB / 3.688 GB, free: 45.85 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001595/8.309, allocations: 0.8059 MB / 3.688 GB, free: 45.62 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.00422/8.314, allocations: 4.468 MB / 3.693 GB, free: 41.96 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001598/8.315, allocations: 0.7114 MB / 3.693 GB, free: 41.73 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002924/8.316, allocations: 230.1 kB / 3.694 GB, free: 41.64 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09531/8.411, allocations: 55.74 MB / 3.748 GB, free: 21.29 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.003e-05/8.411, allocations: 38.56 kB / 3.748 GB, free: 21.25 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=48): time 4.047e-06/8.411, allocations: 0 / 3.748 GB, free: 21.25 MB / 0.5261 GB Notification: Performance of matching and sorting (n=52): time 0.005764/8.417, allocations: 1.863 MB / 3.75 GB, free: 20.41 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.76e-05/8.417, allocations: 109.2 kB / 3.75 GB, free: 20.29 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007126/8.418, allocations: 464.7 kB / 3.75 GB, free: 20.07 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.513e-05/8.418, allocations: 33.7 kB / 3.751 GB, free: 20.03 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002332/8.418, allocations: 330.2 kB / 3.751 GB, free: 19.77 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001476/8.418, allocations: 175.1 kB / 3.751 GB, free: 19.63 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.602e-05/8.418, allocations: 11.75 kB / 3.751 GB, free: 19.62 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001612/8.418, allocations: 375.5 kB / 3.751 GB, free: 19.28 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003183/8.419, allocations: 190.7 kB / 3.752 GB, free: 19.21 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000393/8.419, allocations: 364.1 kB / 3.752 GB, free: 18.92 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004281/8.419, allocations: 231.9 kB / 3.752 GB, free: 18.83 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/8.42, allocations: 3.938 kB / 3.752 GB, free: 18.83 MB / 0.5261 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001551/8.421, allocations: 0.8123 MB / 3.753 GB, free: 18.49 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006404/8.422, allocations: 1.835 MB / 3.755 GB, free: 16.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/8.422, allocations: 5.75 kB / 3.755 GB, free: 16.54 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001797/8.424, allocations: 411.8 kB / 3.755 GB, free: 16.46 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000469/8.424, allocations: 130.2 kB / 3.755 GB, free: 16.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009777/8.425, allocations: 0.8767 MB / 3.756 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008285/8.426, allocations: 88.08 kB / 3.756 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.542e-05/8.426, allocations: 36.91 kB / 3.756 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/8.426, allocations: 3.469 kB / 3.756 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001351/8.427, allocations: 0.6959 MB / 3.757 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/8.427, allocations: 9.312 kB / 3.757 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001314/8.429, allocations: 301.3 kB / 3.757 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004735/8.429, allocations: 141.9 kB / 3.757 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001014/8.43, allocations: 0.8342 MB / 3.758 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00072/8.431, allocations: 86.7 kB / 3.758 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.77e-05/8.431, allocations: 31.52 kB / 3.758 GB, free: 14.28 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 6 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,valve.state_b.phase,valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 19} Notification: Performance of prepare postOptimizeDAE: time 0.000233/8.431, allocations: 148.8 kB / 3.758 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001705/8.431, allocations: 67.25 kB / 3.758 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00281/8.434, allocations: 2.661 MB / 3.761 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.107e-05/8.434, allocations: 40.08 kB / 3.761 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/8.434, allocations: 4 kB / 3.761 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.816e-06/8.434, allocations: 3.609 kB / 3.761 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003787/8.438, allocations: 3.717 MB / 3.765 GB, free: 8.367 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/8.438, allocations: 3.609 kB / 3.765 GB, free: 8.367 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005423/8.439, allocations: 151.4 kB / 3.765 GB, free: 8.246 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003304/8.439, allocations: 96.94 kB / 3.765 GB, free: 8.164 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.518e-05/8.439, allocations: 16 kB / 3.765 GB, free: 8.148 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008084/8.44, allocations: 1.138 MB / 3.766 GB, free: 6.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/8.44, allocations: 0 / 3.766 GB, free: 6.98 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002144/8.442, allocations: 2.097 MB / 3.768 GB, free: 5.008 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004918/8.443, allocations: 363.2 kB / 3.768 GB, free: 4.691 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001422/8.443, allocations: 16 kB / 3.768 GB, free: 4.676 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006445/8.443, allocations: 74.86 kB / 3.769 GB, free: 4.617 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/8.443, allocations: 56.56 kB / 3.769 GB, free: 4.586 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.68e-05/8.444, allocations: 23.56 kB / 3.769 GB, free: 4.566 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006498/8.444, allocations: 0.5502 MB / 3.769 GB, free: 4.059 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.7e-07/8.444, allocations: 0 / 3.769 GB, free: 4.059 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00643/8.451, allocations: 1.423 MB / 3.771 GB, free: 2.668 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pump.medium.p,pump.medium.h) * Number of discrete variables: 21 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse12.phase,$cse12.region,$cse16.phase,$cse16.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.3116/8.762, allocations: 4.302 MB / 3.775 GB, free: 68.43 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00386/8.766, allocations: 1.213 MB / 3.776 GB, free: 68.42 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/8.766, allocations: 2.406 kB / 3.776 GB, free: 68.42 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001309/8.768, allocations: 0.6786 MB / 3.777 GB, free: 68.42 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002534/8.77, allocations: 339.2 kB / 3.777 GB, free: 68.41 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00908/8.779, allocations: 2.422 MB / 3.779 GB, free: 67.97 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009899/8.78, allocations: 1.155 MB / 3.78 GB, free: 67.26 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00188/8.782, allocations: 0.693 MB / 3.781 GB, free: 67.25 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006116/8.783, allocations: 445.2 kB / 3.782 GB, free: 67.25 MB / 0.5261 GB Notification: Performance of SimCode: time 1.152e-06/8.783, allocations: 0 / 3.782 GB, free: 67.25 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1025/8.885, allocations: 59.57 MB / 3.84 GB, free: 65.19 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001724/8.886, allocations: 240.3 kB / 3.84 GB, free: 64.87 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.112/13, allocations: 4 kB / 3.84 GB, free: 64.87 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCheckValve_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCheckValve.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve_res.mat does not exist to compare? outputFormat=mat