Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.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.TestControlledPump,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPump",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPump",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.002314/0.002313, allocations: 181.6 kB / 13.66 MB, free: 1.664 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.152/2.152, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001154/0.001153, allocations: 86.64 kB / 267.5 MB, free: 14.12 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.2976/0.2976, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.926e-05/3.944e-05, allocations: 4 kB / 425.4 MB, free: 23.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1336, allocations: 58.85 MB / 484.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.276/8.41, allocations: 2.783 GB / 3.256 GB, free: 57.16 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004112/8.41, allocations: 93.28 kB / 3.256 GB, free: 57.11 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.203/12.61, allocations: 0.7624 GB / 4.018 GB, free: 46.34 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.245e-06/12.61, allocations: 3.172 kB / 4.018 GB, free: 46.34 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.00015/12.61, allocations: 38.2 kB / 4.018 GB, free: 46.34 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: 289 * Number of variables: 289 Notification: Performance of Generate backend data structure: time 0.01252/12.63, allocations: 2.712 MB / 4.021 GB, free: 45.07 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/12.63, allocations: 11 kB / 4.021 GB, free: 45.07 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005431/12.63, allocations: 174.7 kB / 4.021 GB, free: 45.03 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007175/12.63, allocations: 0.6458 MB / 4.022 GB, free: 44.95 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003258/12.64, allocations: 0.9797 MB / 4.023 GB, free: 44.62 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001481/12.64, allocations: 92.91 kB / 4.023 GB, free: 44.62 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000298/12.64, allocations: 111.2 kB / 4.023 GB, free: 44.62 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006462/12.64, allocations: 1.939 MB / 4.025 GB, free: 44.21 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.7e-05/12.64, allocations: 5.812 kB / 4.025 GB, free: 44.21 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002301/12.64, allocations: 51.84 kB / 4.025 GB, free: 44.21 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.126e-05/12.64, allocations: 45.61 kB / 4.025 GB, free: 44.21 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006054/12.65, allocations: 1.626 MB / 4.027 GB, free: 44.2 MB / 0.5261 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.01735/12.67, allocations: 9.484 MB / 4.036 GB, free: 37.81 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005962/12.67, allocations: 1.434 MB / 4.037 GB, free: 37.78 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001179/12.68, allocations: 460.2 kB / 4.038 GB, free: 37.77 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07667/12.75, allocations: 24.33 MB / 4.061 GB, free: 22.73 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.892e-05/12.75, allocations: 41.59 kB / 4.062 GB, free: 22.7 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=94): time 4.819e-06/12.75, allocations: 0 / 4.062 GB, free: 22.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=94): time 0.009755/12.76, allocations: 2.04 MB / 4.064 GB, free: 22.55 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.008e-05/12.76, allocations: 168 kB / 4.064 GB, free: 22.36 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001698/12.76, allocations: 0.7673 MB / 4.064 GB, free: 22.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000334/12.76, allocations: 47.67 kB / 4.064 GB, free: 22.17 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004552/12.76, allocations: 0.5831 MB / 4.065 GB, free: 21.84 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004952/12.77, allocations: 314.6 kB / 4.065 GB, free: 21.64 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001481/12.77, allocations: 29.25 kB / 4.065 GB, free: 21.63 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001093/12.77, allocations: 347.6 kB / 4.066 GB, free: 21.32 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009773/12.77, allocations: 340.8 kB / 4.066 GB, free: 21.32 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001204/12.77, allocations: 0.668 MB / 4.067 GB, free: 20.93 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001198/12.77, allocations: 424 kB / 4.067 GB, free: 20.89 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.919e-06/12.77, allocations: 3.594 kB / 4.067 GB, free: 20.89 MB / 0.5261 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003623/12.77, allocations: 1.206 MB / 4.068 GB, free: 20.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009415/12.77, allocations: 3.751 MB / 4.072 GB, free: 16.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.442e-05/12.77, allocations: 11.25 kB / 4.072 GB, free: 16.87 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003904/12.78, allocations: 456.4 kB / 4.072 GB, free: 16.84 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002155/12.78, allocations: 298.8 kB / 4.073 GB, free: 16.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002882/12.78, allocations: 1.465 MB / 4.074 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002933/12.79, allocations: 248.4 kB / 4.074 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003315/12.79, allocations: 69.22 kB / 4.074 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/12.79, allocations: 7.875 kB / 4.074 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002835/12.79, allocations: 1.008 MB / 4.075 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.981e-05/12.79, allocations: 13.84 kB / 4.075 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.734e-05/12.79, allocations: 15.34 kB / 4.075 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004456/12.79, allocations: 453.4 kB / 4.076 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.868e-05/12.79, allocations: 23.11 kB / 4.076 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002285/12.8, allocations: 205.9 kB / 4.076 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002672/12.8, allocations: 61.22 kB / 4.076 GB, free: 15.53 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 12 (source.medium.phase,sink.medium.phase,pump.heatTransfer.states[1].phase,source1.medium.phase,sink1.medium.phase,pump1.heatTransfer.states[1].phase,valve1.state_b.phase,valve1.state_a.phase,pump1.monitoring.state_in.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 (114): * Single equations (assignments): 112 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 11,2 10} Notification: Performance of prepare postOptimizeDAE: time 0.0005038/12.8, allocations: 191.1 kB / 4.076 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005127/12.8, allocations: 125.8 kB / 4.076 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009522/12.81, allocations: 5.722 MB / 4.082 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.973e-05/12.81, allocations: 78.05 kB / 4.082 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/12.81, allocations: 3.953 kB / 4.082 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.564e-05/12.81, allocations: 6.938 kB / 4.082 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01409/12.82, allocations: 7.836 MB / 4.09 GB, free: 26.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.112e-05/12.82, allocations: 0 / 4.09 GB, free: 26.34 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001731/12.82, allocations: 229.4 kB / 4.09 GB, free: 26.32 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005815/12.83, allocations: 1.897 MB / 4.092 GB, free: 25.9 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002874/12.83, allocations: 27.5 kB / 4.092 GB, free: 25.88 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003788/12.83, allocations: 2.652 MB / 4.094 GB, free: 24.11 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/12.83, allocations: 0 / 4.094 GB, free: 24.11 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006406/12.84, allocations: 3.538 MB / 4.098 GB, free: 22.4 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001554/12.84, allocations: 0.5574 MB / 4.098 GB, free: 22.01 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005206/12.84, allocations: 19.97 kB / 4.098 GB, free: 21.99 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002585/12.84, allocations: 189.6 kB / 4.099 GB, free: 21.95 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004726/12.84, allocations: 103.6 kB / 4.099 GB, free: 21.93 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001579/12.85, allocations: 41.81 kB / 4.099 GB, free: 21.93 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001866/12.85, allocations: 0.7843 MB / 4.1 GB, free: 21.6 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7.02e-07/12.85, allocations: 0 / 4.1 GB, free: 21.6 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.009817/12.86, allocations: 1.875 MB / 4.101 GB, free: 21.2 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: 48 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.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,$cse22.phase,$cse22.region,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region,$cse26.region3boundary,$cse27.region3boundary,$cse28.phase,$cse28.region,$cse29.phase,$cse29.region,$cse32.phase,$cse32.region,$cse33.phase,$cse33.region,$cse35.phase,$cse35.region,$cse36.phase,$cse36.region,source.medium.phase,sink.medium.phase,pump.heatTransfer.states[1].phase,source1.medium.phase,sink1.medium.phase,pump1.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * 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 {3 16,2 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.01866/12.88, allocations: 5.63 MB / 4.107 GB, free: 18.13 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.006278/12.88, allocations: 2.214 MB / 4.109 GB, free: 16.06 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.727e-06/12.88, allocations: 0 / 4.109 GB, free: 16.06 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00271/12.88, allocations: 1.414 MB / 4.11 GB, free: 14.72 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005744/12.89, allocations: 0.594 MB / 4.111 GB, free: 14.28 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01479/12.91, allocations: 4.259 MB / 4.115 GB, free: 10.4 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001868/12.91, allocations: 1.635 MB / 4.117 GB, free: 9.055 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001973/12.91, allocations: 0.8487 MB / 4.118 GB, free: 8.289 MB / 0.5417 GB Notification: Performance of SimCode: time 1.583e-06/12.91, allocations: 0 / 4.118 GB, free: 8.289 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.928/17.84, allocations: 72.39 MB / 4.188 GB, free: 53.11 MB / 0.5417 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPump_fmu --startTime=0 --stopTime=7 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPump.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump_res.mat does not exist to compare? outputFormat=mat