Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.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.TestWaterPumpVariableSpeed,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeed",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.001302/0.001302, allocations: 181.1 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.803/1.803, 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.0009488/0.0009488, allocations: 90.86 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.2354/0.2354, allocations: 43.56 MB / 362 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003405/0.0003405, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1329, allocations: 58.86 MB / 490.3 MB, free: 8.57 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.864/5.997, allocations: 2.782 GB / 3.26 GB, free: 59.26 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004579/5.997, allocations: 88.52 kB / 3.26 GB, free: 59.21 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.728/7.725, allocations: 440.2 MB / 3.69 GB, free: 38.76 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.086e-06/7.725, allocations: 4 kB / 3.69 GB, free: 38.76 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.597e-05/7.726, allocations: 12 kB / 3.69 GB, free: 38.75 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.008078/7.734, allocations: 1.854 MB / 3.692 GB, free: 36.85 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.143e-05/7.734, allocations: 12.02 kB / 3.692 GB, free: 36.84 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001251/7.734, allocations: 98.52 kB / 3.692 GB, free: 36.73 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002335/7.736, allocations: 338.6 kB / 3.693 GB, free: 36.4 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/7.737, allocations: 0.5652 MB / 3.693 GB, free: 35.81 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.716e-05/7.737, allocations: 53.31 kB / 3.693 GB, free: 35.76 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.472e-05/7.737, allocations: 52.69 kB / 3.693 GB, free: 35.71 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002198/7.74, allocations: 1.016 MB / 3.694 GB, free: 34.62 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/7.74, allocations: 7.938 kB / 3.694 GB, free: 34.62 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.02e-05/7.74, allocations: 27.98 kB / 3.694 GB, free: 34.59 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.168e-05/7.74, allocations: 21 kB / 3.694 GB, free: 34.57 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002167/7.742, allocations: 0.9405 MB / 3.695 GB, free: 33.63 MB / 0.5105 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.005234/7.747, allocations: 4.771 MB / 3.7 GB, free: 28.49 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002294/7.749, allocations: 0.8239 MB / 3.701 GB, free: 27.66 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04017/7.79, allocations: 24.17 MB / 3.724 GB, free: 0.6016 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.124e-05/7.79, allocations: 38.94 kB / 3.724 GB, free: 0.5547 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=45): time 4.809e-06/7.79, allocations: 0 / 3.724 GB, free: 0.5547 MB / 0.5105 GB Notification: Performance of matching and sorting (n=45): time 0.4135/8.203, allocations: 1.693 MB / 3.726 GB, free: 63.49 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.983e-05/8.204, allocations: 113.4 kB / 3.726 GB, free: 63.37 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009294/8.204, allocations: 462.1 kB / 3.727 GB, free: 63.26 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.192e-05/8.205, allocations: 34.45 kB / 3.727 GB, free: 63.23 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003187/8.205, allocations: 333 kB / 3.727 GB, free: 63.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002203/8.205, allocations: 154.4 kB / 3.727 GB, free: 63.03 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.41e-05/8.205, allocations: 14.94 kB / 3.727 GB, free: 63.03 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001765/8.205, allocations: 368.6 kB / 3.727 GB, free: 62.71 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007292/8.206, allocations: 252.4 kB / 3.728 GB, free: 62.71 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000883/8.207, allocations: 440.8 kB / 3.728 GB, free: 62.51 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007417/8.208, allocations: 296.1 kB / 3.728 GB, free: 62.51 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/8.208, allocations: 0 / 3.728 GB, free: 62.51 MB / 0.5105 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001953/8.21, allocations: 0.8521 MB / 3.729 GB, free: 62.43 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007677/8.21, allocations: 2.091 MB / 3.731 GB, free: 60.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.628e-05/8.21, allocations: 6.781 kB / 3.731 GB, free: 60.25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001607/8.212, allocations: 296.2 kB / 3.732 GB, free: 60.25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005737/8.213, allocations: 143.9 kB / 3.732 GB, free: 60.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001329/8.214, allocations: 0.7982 MB / 3.732 GB, free: 59.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008807/8.215, allocations: 118 kB / 3.733 GB, free: 59.71 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.553e-05/8.215, allocations: 42.36 kB / 3.733 GB, free: 59.71 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/8.215, allocations: 3.531 kB / 3.733 GB, free: 59.71 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002583/8.218, allocations: 0.7894 MB / 3.733 GB, free: 59.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/8.218, allocations: 6.094 kB / 3.733 GB, free: 59.69 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00121/8.219, allocations: 215.7 kB / 3.734 GB, free: 59.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005202/8.219, allocations: 151.5 kB / 3.734 GB, free: 59.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008483/8.22, allocations: 0.7568 MB / 3.734 GB, free: 59.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007609/8.221, allocations: 112.2 kB / 3.735 GB, free: 59.14 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.407e-05/8.221, allocations: 33.11 kB / 3.735 GB, free: 59.14 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 55 * 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 {2 12} Notification: Performance of prepare postOptimizeDAE: time 0.0005937/8.222, allocations: 281.8 kB / 3.735 GB, free: 58.95 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/8.222, allocations: 62.06 kB / 3.735 GB, free: 58.92 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004393/8.226, allocations: 2.91 MB / 3.738 GB, free: 58.66 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.723e-05/8.226, allocations: 35.62 kB / 3.738 GB, free: 58.66 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/8.226, allocations: 0 / 3.738 GB, free: 58.66 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.677e-06/8.226, allocations: 8.266 kB / 3.738 GB, free: 58.66 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00224/8.229, allocations: 1.387 MB / 3.739 GB, free: 58.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/8.229, allocations: 0 / 3.739 GB, free: 58.41 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004951/8.229, allocations: 102.4 kB / 3.739 GB, free: 58.41 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003316/8.232, allocations: 1.059 MB / 3.74 GB, free: 58.38 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-05/8.233, allocations: 19.09 kB / 3.74 GB, free: 58.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002597/8.235, allocations: 1.44 MB / 3.742 GB, free: 57.83 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.161e-06/8.235, allocations: 3.953 kB / 3.742 GB, free: 57.82 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004282/8.239, allocations: 1.896 MB / 3.744 GB, free: 57.53 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008044/8.24, allocations: 369.6 kB / 3.744 GB, free: 57.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/8.24, allocations: 17.44 kB / 3.744 GB, free: 57.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006262/8.241, allocations: 84.73 kB / 3.744 GB, free: 57.36 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000177/8.241, allocations: 50.95 kB / 3.744 GB, free: 57.36 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.319e-05/8.241, allocations: 21.88 kB / 3.744 GB, free: 57.36 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001081/8.242, allocations: 0.5566 MB / 3.745 GB, free: 57.26 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.9e-07/8.242, allocations: 0 / 3.745 GB, free: 57.26 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009294/8.252, allocations: 1.433 MB / 3.746 GB, free: 57.24 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 21 ($cse3.phase,$cse3.region,$cse7.phase,$cse7.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 {2 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.01524/8.267, allocations: 3.822 MB / 3.75 GB, free: 56.36 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003977/8.271, allocations: 1.291 MB / 3.751 GB, free: 56.34 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.135e-06/8.271, allocations: 2.344 kB / 3.751 GB, free: 56.34 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001406/8.272, allocations: 0.7132 MB / 3.752 GB, free: 56.32 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002434/8.275, allocations: 333.2 kB / 3.752 GB, free: 56.31 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01196/8.287, allocations: 7.287 MB / 3.759 GB, free: 51.11 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006491/8.288, allocations: 1.15 MB / 3.76 GB, free: 50.4 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001304/8.289, allocations: 0.6449 MB / 3.761 GB, free: 50.39 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004448/8.289, allocations: 416.9 kB / 3.761 GB, free: 50.39 MB / 0.5105 GB Notification: Performance of SimCode: time 1.382e-06/8.289, allocations: 0 / 3.761 GB, free: 50.39 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09996/8.389, allocations: 54.67 MB / 3.815 GB, free: 48.28 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001989/8.39, allocations: 277.6 kB / 3.815 GB, free: 47.92 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.725/13.11, allocations: 4 kB / 3.815 GB, free: 47.91 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeed_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeed.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed_res.mat does not exist to compare? outputFormat=mat