Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001701/0.001701, allocations: 197.2 kB / 8.766 MB, free: 324 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.724/1.724, allocations: 225.6 MB / 234.8 MB, free: 3.258 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000998/0.0009977, allocations: 95.41 kB / 286.7 MB, free: 5.238 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2711/0.2711, allocations: 45.14 MB / 383.8 MB, free: 304 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.047e-05/3.027e-05, allocations: 4 kB / 453.3 MB, free: 75.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1689, allocations: 63.25 MB / 0.5045 GB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.346/8.515, allocations: 2.804 GB / 3.308 GB, free: 111.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002302/8.516, allocations: 91.89 kB / 3.308 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.59/10.11, allocations: 458.4 MB / 3.756 GB, free: 50.32 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.144e-06/10.11, allocations: 0 / 3.756 GB, free: 50.32 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.317e-05/10.11, allocations: 35.14 kB / 3.756 GB, free: 50.31 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: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.007754/10.11, allocations: 2.319 MB / 3.758 GB, free: 48.96 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/10.11, allocations: 10.91 kB / 3.758 GB, free: 48.96 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002886/10.12, allocations: 437.1 kB / 3.759 GB, free: 48.86 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002265/10.12, allocations: 0.9749 MB / 3.76 GB, free: 48.27 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.399e-05/10.12, allocations: 47.91 kB / 3.76 GB, free: 48.27 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001738/10.12, allocations: 78.34 kB / 3.76 GB, free: 48.27 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001735/10.12, allocations: 0.9381 MB / 3.761 GB, free: 47.9 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00201/10.12, allocations: 1.213 MB / 3.762 GB, free: 47.28 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.969e-05/10.12, allocations: 6.844 kB / 3.762 GB, free: 47.27 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.833e-05/10.12, allocations: 7.703 kB / 3.762 GB, free: 47.27 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.176e-05/10.12, allocations: 47.5 kB / 3.762 GB, free: 47.27 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.5435/10.67, allocations: 95.57 MB / 3.855 GB, free: 51.11 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001248/10.67, allocations: 0.4951 MB / 3.856 GB, free: 51.08 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000531/10.67, allocations: 249.7 kB / 3.856 GB, free: 51.07 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0321/10.7, allocations: 18.49 MB / 3.874 GB, free: 38.61 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.271e-05/10.7, allocations: 43.09 kB / 3.874 GB, free: 38.57 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=60): time 2.204e-06/10.7, allocations: 0 / 3.874 GB, free: 38.57 MB / 0.5417 GB Notification: Performance of matching and sorting (n=63): time 0.007537/10.71, allocations: 2.019 MB / 3.876 GB, free: 38.13 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.899e-05/10.71, allocations: 138.7 kB / 3.876 GB, free: 37.97 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001891/10.71, allocations: 0.7294 MB / 3.877 GB, free: 37.82 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 9.013e-05/10.71, allocations: 27.48 kB / 3.877 GB, free: 37.79 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007032/10.71, allocations: 0.7276 MB / 3.878 GB, free: 37.49 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002498/10.71, allocations: 227.9 kB / 3.878 GB, free: 37.38 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.643e-05/10.71, allocations: 0 / 3.878 GB, free: 37.38 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001203/10.71, allocations: 349.1 kB / 3.878 GB, free: 37.07 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004808/10.71, allocations: 250.4 kB / 3.878 GB, free: 37.07 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007362/10.71, allocations: 0.6861 MB / 3.879 GB, free: 36.51 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001475/10.71, allocations: 451.8 kB / 3.879 GB, free: 36.48 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.6e-05/10.71, allocations: 3.75 kB / 3.879 GB, free: 36.48 MB / 0.5417 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002637/10.72, allocations: 1.124 MB / 3.881 GB, free: 36.36 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.001403/10.72, allocations: 5.75 MB / 3.886 GB, free: 30.33 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.703e-05/10.72, allocations: 15.28 kB / 3.886 GB, free: 30.33 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007742/10.72, allocations: 198.2 kB / 3.886 GB, free: 30.32 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008572/10.72, allocations: 263.7 kB / 3.887 GB, free: 30.32 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001085/10.72, allocations: 0.8486 MB / 3.887 GB, free: 29.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001524/10.72, allocations: 107 kB / 3.888 GB, free: 29.78 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001558/10.72, allocations: 67.23 kB / 3.888 GB, free: 29.78 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/10.72, allocations: 5.375 kB / 3.888 GB, free: 29.78 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002491/10.73, allocations: 0.9562 MB / 3.889 GB, free: 29.74 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.893e-05/10.73, allocations: 19.22 kB / 3.889 GB, free: 29.74 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008185/10.73, allocations: 182.6 kB / 3.889 GB, free: 29.73 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008197/10.73, allocations: 270.5 kB / 3.889 GB, free: 29.73 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008891/10.73, allocations: 0.7481 MB / 3.89 GB, free: 29.21 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/10.73, allocations: 91 kB / 3.89 GB, free: 29.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001364/10.73, allocations: 67.95 kB / 3.89 GB, free: 29.2 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 6 (pump.heatTransfer.states[1].phase,Source.medium.phase,Sink.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 (128): * Single equations (assignments): 127 * 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.0003136/10.73, allocations: 149.3 kB / 3.89 GB, free: 29.09 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001888/10.73, allocations: 0.6771 MB / 3.891 GB, free: 28.98 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000266/10.73, allocations: 106.5 kB / 3.891 GB, free: 28.93 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003548/10.74, allocations: 2.205 MB / 3.893 GB, free: 28.73 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.386e-05/10.74, allocations: 25.62 kB / 3.893 GB, free: 28.73 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.659e-06/10.74, allocations: 4 kB / 3.893 GB, free: 28.73 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/10.74, allocations: 3.375 kB / 3.893 GB, free: 28.73 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004617/10.74, allocations: 3.17 MB / 3.896 GB, free: 28.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/10.74, allocations: 0 / 3.896 GB, free: 28.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004157/10.74, allocations: 109.9 kB / 3.896 GB, free: 28.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001398/10.74, allocations: 1.12 MB / 3.897 GB, free: 28.24 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.296e-05/10.74, allocations: 15.39 kB / 3.897 GB, free: 28.24 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001531/10.74, allocations: 1.649 MB / 3.899 GB, free: 27.68 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/10.74, allocations: 5.156 kB / 3.899 GB, free: 27.68 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002751/10.75, allocations: 2.32 MB / 3.901 GB, free: 27.21 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007088/10.75, allocations: 328.5 kB / 3.901 GB, free: 27.05 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003195/10.75, allocations: 7.578 kB / 3.901 GB, free: 27.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009138/10.75, allocations: 75.12 kB / 3.902 GB, free: 27.04 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/10.75, allocations: 48.17 kB / 3.902 GB, free: 27.04 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-05/10.75, allocations: 28.06 kB / 3.902 GB, free: 27.03 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001106/10.75, allocations: 0.6655 MB / 3.902 GB, free: 26.92 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.8e-07/10.75, allocations: 1.219 kB / 3.902 GB, free: 26.92 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006838/10.76, allocations: 1.582 MB / 3.904 GB, free: 26.92 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (motor.inertiaRotor.phi,motor.inertiaRotor.w,motor.la.i) * Number of discrete variables: 11 ($cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse11.phase,$cse11.region,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.01067/10.77, allocations: 4.739 MB / 3.908 GB, free: 25.33 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002616/10.77, allocations: 1.329 MB / 3.91 GB, free: 25.3 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/10.77, allocations: 7.312 kB / 3.91 GB, free: 25.3 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0006632/10.77, allocations: 0.4951 MB / 3.91 GB, free: 25.29 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001947/10.77, allocations: 351.7 kB / 3.911 GB, free: 25.27 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007584/10.78, allocations: 2.687 MB / 3.913 GB, free: 24.46 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006586/10.78, allocations: 1.277 MB / 3.914 GB, free: 23.72 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001835/10.78, allocations: 0.9038 MB / 3.915 GB, free: 23.67 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005751/10.78, allocations: 0.5721 MB / 3.916 GB, free: 23.66 MB / 0.5417 GB Notification: Performance of SimCode: time 7.91e-07/10.78, allocations: 1.969 kB / 3.916 GB, free: 23.66 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09577/10.88, allocations: 55.93 MB / 3.971 GB, free: 18.43 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002339/10.88, allocations: 186.3 kB / 3.971 GB, free: 18.24 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.974/14.85, allocations: 0 / 3.971 GB, free: 18.24 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotor_fmu --startTime=0 --stopTime=8 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotor.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor_res.mat does not exist to compare? outputFormat=mat