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.002064/0.002064, allocations: 198.7 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.672/1.672, allocations: 227.2 MB / 245 MB, free: 5.789 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001144/0.001145, allocations: 91.52 kB / 297.2 MB, free: 5.961 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4619/0.4619, allocations: 45.23 MB / 394.6 MB, free: 31.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003262/0.0003263, allocations: 8 kB / 468.5 MB, free: 7.617 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4699/0.4703, allocations: 63.24 MB / 0.5193 GB, free: 37.48 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.177/8.647, allocations: 2.804 GB / 3.324 GB, free: 83.5 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003712/8.647, allocations: 93.16 kB / 3.324 GB, free: 83.45 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 2.039/10.69, allocations: 464.1 MB / 3.777 GB, free: 53.04 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.747e-06/10.69, allocations: 0 / 3.777 GB, free: 53.04 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0002453/10.69, allocations: 34.8 kB / 3.777 GB, free: 53.04 MB / 0.5417 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.01225/10.7, allocations: 2.472 MB / 3.779 GB, free: 51.59 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.303e-05/10.7, allocations: 11.56 kB / 3.779 GB, free: 51.59 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008527/10.7, allocations: 195 kB / 3.78 GB, free: 51.46 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003877/10.7, allocations: 443.3 kB / 3.78 GB, free: 51.36 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004452/10.71, allocations: 0.9699 MB / 3.781 GB, free: 50.77 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002831/10.71, allocations: 107.6 kB / 3.781 GB, free: 50.71 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006608/10.71, allocations: 136.5 kB / 3.781 GB, free: 50.67 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005609/10.71, allocations: 1.662 MB / 3.783 GB, free: 49.91 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.961e-05/10.71, allocations: 3.938 kB / 3.783 GB, free: 49.91 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002511/10.72, allocations: 63.73 kB / 3.783 GB, free: 49.86 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.166e-05/10.72, allocations: 50.58 kB / 3.783 GB, free: 49.86 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00375/10.72, allocations: 1.35 MB / 3.784 GB, free: 49.45 MB / 0.5417 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.01234/10.73, allocations: 7.856 MB / 3.792 GB, free: 43.54 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002721/10.73, allocations: 0.9374 MB / 3.793 GB, free: 43.27 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04351/10.78, allocations: 26.72 MB / 3.819 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.104e-05/10.78, allocations: 51.11 kB / 3.819 GB, free: 13.6 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=68): time 3.236e-06/10.78, allocations: 0 / 3.819 GB, free: 13.6 MB / 0.5417 GB Notification: Performance of matching and sorting (n=71): time 0.009173/10.79, allocations: 3.029 MB / 3.822 GB, free: 10.49 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.759e-05/10.79, allocations: 141.2 kB / 3.822 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001179/10.79, allocations: 0.8611 MB / 3.823 GB, free: 9.445 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.808e-05/10.79, allocations: 37.7 kB / 3.823 GB, free: 9.402 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003617/10.79, allocations: 0.6954 MB / 3.824 GB, free: 8.703 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001678/10.79, allocations: 258.9 kB / 3.824 GB, free: 8.453 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.546e-05/10.79, allocations: 28 kB / 3.824 GB, free: 8.426 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001014/10.79, allocations: 341.9 kB / 3.824 GB, free: 8.086 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006467/10.79, allocations: 338.4 kB / 3.825 GB, free: 7.754 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008765/10.79, allocations: 0.7841 MB / 3.825 GB, free: 6.758 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007803/10.79, allocations: 442.9 kB / 3.826 GB, free: 6.324 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/10.79, allocations: 4 kB / 3.826 GB, free: 6.32 MB / 0.5417 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002219/10.79, allocations: 1.309 MB / 3.827 GB, free: 5 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.467/11.26, allocations: 5.743 MB / 3.833 GB, free: 61.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.073e-05/11.26, allocations: 16.28 kB / 3.833 GB, free: 61.29 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001906/11.26, allocations: 311.1 kB / 3.833 GB, free: 61.28 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/11.26, allocations: 280.2 kB / 3.833 GB, free: 61.28 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001559/11.27, allocations: 0.8055 MB / 3.834 GB, free: 60.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001481/11.27, allocations: 95.47 kB / 3.834 GB, free: 60.77 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001165/11.27, allocations: 67.73 kB / 3.834 GB, free: 60.77 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/11.27, allocations: 4.625 kB / 3.834 GB, free: 60.77 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00305/11.27, allocations: 1.19 MB / 3.835 GB, free: 60.76 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.836e-05/11.27, allocations: 13.28 kB / 3.835 GB, free: 60.76 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001214/11.27, allocations: 223.6 kB / 3.836 GB, free: 60.75 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009818/11.27, allocations: 277.3 kB / 3.836 GB, free: 60.75 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001222/11.27, allocations: 0.7792 MB / 3.837 GB, free: 60.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/11.27, allocations: 101.9 kB / 3.837 GB, free: 60.23 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/11.27, allocations: 62.36 kB / 3.837 GB, free: 60.23 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 (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 (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.0009122/11.28, allocations: 399.6 kB / 3.837 GB, free: 60.05 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002895/11.28, allocations: 121 kB / 3.837 GB, free: 60.04 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005093/11.28, allocations: 3.113 MB / 3.84 GB, free: 59.84 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.87e-05/11.28, allocations: 44.81 kB / 3.84 GB, free: 59.84 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/11.28, allocations: 2.062 kB / 3.84 GB, free: 59.84 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/11.28, allocations: 3.844 kB / 3.84 GB, free: 59.84 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007803/11.29, allocations: 4.65 MB / 3.845 GB, free: 59.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-06/11.29, allocations: 6.5 kB / 3.845 GB, free: 59.39 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005886/11.29, allocations: 145.2 kB / 3.845 GB, free: 59.39 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002566/11.29, allocations: 1.08 MB / 3.846 GB, free: 59.34 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.749e-05/11.29, allocations: 21.7 kB / 3.846 GB, free: 59.34 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00199/11.29, allocations: 1.446 MB / 3.848 GB, free: 58.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/11.29, allocations: 5.281 kB / 3.848 GB, free: 58.8 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004933/11.3, allocations: 2.992 MB / 3.85 GB, free: 58.29 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001339/11.3, allocations: 437.4 kB / 3.851 GB, free: 58.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002062/11.3, allocations: 19.75 kB / 3.851 GB, free: 58.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00081/11.3, allocations: 82.03 kB / 3.851 GB, free: 58.09 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001689/11.3, allocations: 73.58 kB / 3.851 GB, free: 58.09 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.753e-05/11.3, allocations: 33.42 kB / 3.851 GB, free: 58.09 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001338/11.3, allocations: 0.8526 MB / 3.852 GB, free: 57.98 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.7e-07/11.3, allocations: 0 / 3.852 GB, free: 57.98 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.009366/11.31, allocations: 1.678 MB / 3.854 GB, free: 57.98 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: 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 (65): * Single equations (assignments): 58 * 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.01784/11.33, allocations: 5.458 MB / 3.859 GB, free: 56.46 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00549/11.34, allocations: 1.765 MB / 3.861 GB, free: 56.44 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.04e-05/11.34, allocations: 0.9688 kB / 3.861 GB, free: 56.44 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001619/11.34, allocations: 0.8215 MB / 3.861 GB, free: 56.43 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002773/11.34, allocations: 462.2 kB / 3.862 GB, free: 56.41 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01585/11.36, allocations: 15.83 MB / 3.877 GB, free: 43.56 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001346/11.36, allocations: 1.39 MB / 3.879 GB, free: 42.84 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002574/11.36, allocations: 0.7299 MB / 3.879 GB, free: 42.82 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001001/11.36, allocations: 0.6912 MB / 3.88 GB, free: 42.82 MB / 0.5417 GB Notification: Performance of SimCode: time 1.944e-06/11.36, allocations: 0 / 3.88 GB, free: 42.82 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1406/11.5, allocations: 66.26 MB / 3.945 GB, free: 40.25 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003041/11.5, allocations: 265.3 kB / 3.945 GB, free: 39.89 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.691/16.19, allocations: 0 / 3.945 GB, free: 39.89 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