Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.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.TestWaterPumpDefaultCV,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCV",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.001527/0.001527, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.115/2.115, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00123/0.00123, allocations: 94.34 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3058/0.3058, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.06e-05/3.107e-05, allocations: 4 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4297/0.4298, allocations: 58.85 MB / 477.2 MB, free: 5.156 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.27/8.7, allocations: 2.781 GB / 3.247 GB, free: 21.51 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003327/8.701, allocations: 90.5 kB / 3.247 GB, free: 21.46 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 2.569/11.27, allocations: 435.6 MB / 3.673 GB, free: 54.9 MB / 0.4952 GB Notification: Performance of FrontEnd: time 1.943e-06/11.27, allocations: 0 / 3.673 GB, free: 54.9 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 9.148e-05/11.27, allocations: 21.02 kB / 3.673 GB, free: 54.9 MB / 0.4952 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.00894/11.28, allocations: 1.779 MB / 3.675 GB, free: 54.23 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 5.871e-05/11.28, allocations: 9.562 kB / 3.675 GB, free: 54.23 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003863/11.28, allocations: 329.9 kB / 3.675 GB, free: 54.19 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001973/11.28, allocations: 0.5842 MB / 3.675 GB, free: 53.95 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.648e-05/11.28, allocations: 24.03 kB / 3.676 GB, free: 53.95 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001232/11.28, allocations: 33.59 kB / 3.676 GB, free: 53.95 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001635/11.29, allocations: 0.5644 MB / 3.676 GB, free: 53.95 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/11.29, allocations: 0.6797 MB / 3.677 GB, free: 53.75 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.982e-05/11.29, allocations: 5 kB / 3.677 GB, free: 53.75 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-05/11.29, allocations: 5.531 kB / 3.677 GB, free: 53.75 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.205e-05/11.29, allocations: 21.69 kB / 3.677 GB, free: 53.75 MB / 0.4952 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.1336/11.42, allocations: 44.3 MB / 3.72 GB, free: 26.68 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001738/11.42, allocations: 452.6 kB / 3.72 GB, free: 26.64 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005263/11.42, allocations: 209.6 kB / 3.721 GB, free: 26.64 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07683/11.5, allocations: 24.15 MB / 3.744 GB, free: 27.16 MB / 0.5108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.854e-05/11.5, allocations: 45.7 kB / 3.744 GB, free: 27.12 MB / 0.5108 GB Notification: Performance of pre-optimization done (n=43): time 3.306e-06/11.5, allocations: 0 / 3.744 GB, free: 27.12 MB / 0.5108 GB Notification: Performance of matching and sorting (n=43): time 0.004408/11.51, allocations: 0.8726 MB / 3.745 GB, free: 27.04 MB / 0.5108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.914e-05/11.51, allocations: 106.8 kB / 3.745 GB, free: 26.91 MB / 0.5108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007907/11.51, allocations: 412.2 kB / 3.746 GB, free: 26.8 MB / 0.5108 GB Notification: Performance of collectPreVariables (initialization): time 0.000112/11.51, allocations: 25.7 kB / 3.746 GB, free: 26.77 MB / 0.5108 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002664/11.51, allocations: 390.3 kB / 3.746 GB, free: 26.52 MB / 0.5108 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001619/11.51, allocations: 152.2 kB / 3.746 GB, free: 26.42 MB / 0.5108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.893e-05/11.51, allocations: 0 / 3.746 GB, free: 26.42 MB / 0.5108 GB Notification: Performance of setup shared object (initialization): time 0.0001455/11.51, allocations: 339.8 kB / 3.747 GB, free: 26.1 MB / 0.5108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004462/11.51, allocations: 179.1 kB / 3.747 GB, free: 26.1 MB / 0.5108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005788/11.51, allocations: 360.7 kB / 3.747 GB, free: 25.89 MB / 0.5108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001816/11.51, allocations: 332.3 kB / 3.747 GB, free: 25.88 MB / 0.5108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.385e-06/11.51, allocations: 0 / 3.747 GB, free: 25.88 MB / 0.5108 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.003033/11.51, allocations: 0.7529 MB / 3.748 GB, free: 25.82 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007998/11.51, allocations: 2.007 MB / 3.75 GB, free: 23.71 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/11.51, allocations: 6 kB / 3.75 GB, free: 23.71 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001917/11.52, allocations: 275 kB / 3.75 GB, free: 23.7 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/11.52, allocations: 150.5 kB / 3.75 GB, free: 23.7 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002312/11.52, allocations: 0.887 MB / 3.751 GB, free: 23.17 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001622/11.52, allocations: 123.4 kB / 3.751 GB, free: 23.13 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/11.52, allocations: 37.58 kB / 3.751 GB, free: 23.13 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/11.52, allocations: 9.594 kB / 3.751 GB, free: 23.13 MB / 0.5108 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00292/11.52, allocations: 0.6606 MB / 3.752 GB, free: 23.1 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/11.52, allocations: 10.44 kB / 3.752 GB, free: 23.1 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00121/11.53, allocations: 158.4 kB / 3.752 GB, free: 23.09 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/11.53, allocations: 156.9 kB / 3.752 GB, free: 23.09 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0015/11.53, allocations: 0.7285 MB / 3.753 GB, free: 22.56 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001192/11.53, allocations: 102.9 kB / 3.753 GB, free: 22.54 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.908e-05/11.53, allocations: 36.02 kB / 3.753 GB, free: 22.54 MB / 0.5108 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 6 (Sink.medium.phase,pump.heatTransfer.states[1].phase,Source.medium.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 (59): * Single equations (assignments): 58 * 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 16} Notification: Performance of prepare postOptimizeDAE: time 0.0003145/11.53, allocations: 129.2 kB / 3.753 GB, free: 22.42 MB / 0.5108 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00238/11.53, allocations: 0.5542 MB / 3.754 GB, free: 22.34 MB / 0.5108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001581/11.53, allocations: 57.44 kB / 3.754 GB, free: 22.31 MB / 0.5108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004552/11.54, allocations: 2.512 MB / 3.756 GB, free: 22.04 MB / 0.5108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-05/11.54, allocations: 37.42 kB / 3.757 GB, free: 22.04 MB / 0.5108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/11.54, allocations: 3.188 kB / 3.757 GB, free: 22.04 MB / 0.5108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.254e-05/11.54, allocations: 3.609 kB / 3.757 GB, free: 22.04 MB / 0.5108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001966/11.54, allocations: 1.153 MB / 3.758 GB, free: 21.8 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.685e-06/11.54, allocations: 0 / 3.758 GB, free: 21.8 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005121/11.54, allocations: 75.33 kB / 3.758 GB, free: 21.8 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002845/11.54, allocations: 1.167 MB / 3.759 GB, free: 21.76 MB / 0.5108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.956e-05/11.54, allocations: 6.625 kB / 3.759 GB, free: 21.76 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002635/11.55, allocations: 1.711 MB / 3.761 GB, free: 21.2 MB / 0.5108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.306e-06/11.55, allocations: 0 / 3.761 GB, free: 21.2 MB / 0.5108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003546/11.55, allocations: 1.845 MB / 3.762 GB, free: 20.91 MB / 0.5108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007098/11.55, allocations: 284.5 kB / 3.763 GB, free: 20.73 MB / 0.5108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001485/11.55, allocations: 7.469 kB / 3.763 GB, free: 20.72 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009915/11.55, allocations: 78.77 kB / 3.763 GB, free: 20.71 MB / 0.5108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001388/11.55, allocations: 39.36 kB / 3.763 GB, free: 20.71 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.919e-05/11.55, allocations: 22.53 kB / 3.763 GB, free: 20.71 MB / 0.5108 GB Notification: Performance of sorting global known variables: time 0.0006587/11.55, allocations: 379.8 kB / 3.763 GB, free: 20.62 MB / 0.5108 GB Notification: Performance of sort global known variables: time 1.583e-06/11.55, allocations: 0 / 3.763 GB, free: 20.62 MB / 0.5108 GB Notification: Performance of remove unused functions: time 0.007141/11.56, allocations: 1.389 MB / 3.764 GB, free: 20.4 MB / 0.5108 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.01507/11.57, allocations: 3.8 MB / 3.768 GB, free: 19.3 MB / 0.5108 GB Notification: Performance of simCode: created initialization part: time 0.003687/11.58, allocations: 1.072 MB / 3.769 GB, free: 19.28 MB / 0.5108 GB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/11.58, allocations: 4.062 kB / 3.769 GB, free: 19.27 MB / 0.5108 GB Notification: Performance of simCode: created simulation system equations: time 0.00112/11.58, allocations: 0.631 MB / 3.77 GB, free: 19.27 MB / 0.5108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002584/11.58, allocations: 255.8 kB / 3.77 GB, free: 19.25 MB / 0.5108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008213/11.59, allocations: 2.118 MB / 3.772 GB, free: 18.6 MB / 0.5108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007753/11.59, allocations: 1.107 MB / 3.773 GB, free: 17.88 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006787/11.59, allocations: 374 kB / 3.774 GB, free: 17.87 MB / 0.5108 GB Notification: Performance of SimCode: time 1.232e-06/11.59, allocations: 0 / 3.774 GB, free: 17.87 MB / 0.5108 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.735/15.33, allocations: 41.47 MB / 3.814 GB, free: 12.34 MB / 0.5108 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCV_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCV.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV_res.mat does not exist to compare? outputFormat=mat