Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.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.TestWaterPumpPowerCharacteristic,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpPowerCharacteristic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpPowerCharacteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001039/0.001039, allocations: 202.4 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.401/1.401, allocations: 225.6 MB / 234.8 MB, free: 3.23 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009788/0.0009789, allocations: 93.64 kB / 286.7 MB, free: 5.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2492/0.2492, allocations: 45.15 MB / 383.8 MB, free: 232 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.741e-05/1.742e-05, allocations: 4 kB / 453.3 MB, free: 75.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1784/0.1784, allocations: 63.25 MB / 0.5045 GB, free: 12.53 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.662/8.84, allocations: 2.788 GB / 3.292 GB, free: 55.46 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003699/8.84, allocations: 82.83 kB / 3.292 GB, free: 55.42 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.806/10.65, allocations: 439.9 MB / 3.722 GB, free: 31.13 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.603e-06/10.65, allocations: 0 / 3.722 GB, free: 31.13 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.172e-05/10.65, allocations: 16 kB / 3.722 GB, free: 31.12 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.00786/10.65, allocations: 1.767 MB / 3.723 GB, free: 29.3 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.801e-05/10.65, allocations: 8.031 kB / 3.723 GB, free: 29.3 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002715/10.66, allocations: 334.8 kB / 3.724 GB, free: 28.97 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001211/10.66, allocations: 0.5635 MB / 3.724 GB, free: 28.38 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.131e-05/10.66, allocations: 31.98 kB / 3.724 GB, free: 28.35 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.43e-05/10.66, allocations: 32 kB / 3.724 GB, free: 28.32 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009695/10.66, allocations: 0.5421 MB / 3.725 GB, free: 27.77 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000932/10.66, allocations: 0.6744 MB / 3.726 GB, free: 27.04 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.512e-05/10.66, allocations: 0 / 3.726 GB, free: 27.04 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.419e-05/10.66, allocations: 7.938 kB / 3.726 GB, free: 27.03 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.578e-05/10.66, allocations: 25.25 kB / 3.726 GB, free: 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.01998/10.68, allocations: 12.72 MB / 3.738 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000948/10.68, allocations: 484.6 kB / 3.738 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000296/10.68, allocations: 230.1 kB / 3.739 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5609/11.24, allocations: 62 MB / 3.799 GB, free: 53.34 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.646e-05/11.24, allocations: 37.62 kB / 3.799 GB, free: 53.3 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=47): time 3.416e-06/11.24, allocations: 0.5312 kB / 3.799 GB, free: 53.3 MB / 0.5417 GB Notification: Performance of matching and sorting (n=51): time 0.007026/11.25, allocations: 1.84 MB / 3.801 GB, free: 52.96 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/11.25, allocations: 107 kB / 3.801 GB, free: 52.84 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004561/11.25, allocations: 378.2 kB / 3.802 GB, free: 52.73 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.353e-05/11.25, allocations: 29.14 kB / 3.802 GB, free: 52.7 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001909/11.25, allocations: 332.2 kB / 3.802 GB, free: 52.54 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001276/11.25, allocations: 171 kB / 3.802 GB, free: 52.46 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.341e-05/11.25, allocations: 0.9844 kB / 3.802 GB, free: 52.46 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000102/11.25, allocations: 363.2 kB / 3.802 GB, free: 52.14 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002767/11.25, allocations: 193.5 kB / 3.803 GB, free: 52.14 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003688/11.25, allocations: 359.1 kB / 3.803 GB, free: 51.96 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001068/11.25, allocations: 324.2 kB / 3.803 GB, free: 51.96 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/11.25, allocations: 3.438 kB / 3.803 GB, free: 51.96 MB / 0.5417 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002007/11.26, allocations: 0.8294 MB / 3.804 GB, free: 51.89 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003877/11.26, allocations: 1.748 MB / 3.806 GB, free: 50.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/11.26, allocations: 7.266 kB / 3.806 GB, free: 50.07 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001148/11.26, allocations: 307.3 kB / 3.806 GB, free: 50.06 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004723/11.26, allocations: 132.3 kB / 3.806 GB, free: 50.06 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001362/11.26, allocations: 0.9511 MB / 3.807 GB, free: 49.54 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007881/11.26, allocations: 85.47 kB / 3.807 GB, free: 49.53 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.826e-05/11.26, allocations: 38.17 kB / 3.807 GB, free: 49.53 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/11.26, allocations: 6.969 kB / 3.807 GB, free: 49.53 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001737/11.26, allocations: 0.6902 MB / 3.808 GB, free: 49.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/11.26, allocations: 3.875 kB / 3.808 GB, free: 49.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00126/11.26, allocations: 298.5 kB / 3.808 GB, free: 49.49 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004623/11.26, allocations: 138.2 kB / 3.808 GB, free: 49.49 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001071/11.26, allocations: 0.8715 MB / 3.809 GB, free: 48.96 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006904/11.26, allocations: 79.36 kB / 3.809 GB, free: 48.96 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.418e-05/11.26, allocations: 32.2 kB / 3.809 GB, free: 48.96 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 () * 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 {3 18} Notification: Performance of prepare postOptimizeDAE: time 0.0002178/11.27, allocations: 132.2 kB / 3.809 GB, free: 48.85 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001474/11.27, allocations: 0.5665 MB / 3.81 GB, free: 48.78 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.573e-05/11.27, allocations: 61.69 kB / 3.81 GB, free: 48.75 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003096/11.27, allocations: 2.639 MB / 3.813 GB, free: 48.48 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.51e-05/11.27, allocations: 41.92 kB / 3.813 GB, free: 48.48 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.323e-06/11.27, allocations: 0 / 3.813 GB, free: 48.48 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/11.27, allocations: 8.484 kB / 3.813 GB, free: 48.48 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004008/11.27, allocations: 3.621 MB / 3.816 GB, free: 48.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/11.27, allocations: 0 / 3.816 GB, free: 48.11 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007357/11.27, allocations: 171.6 kB / 3.816 GB, free: 48.11 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002247/11.27, allocations: 74.09 kB / 3.816 GB, free: 48.09 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.516e-05/11.27, allocations: 6.781 kB / 3.816 GB, free: 48.09 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005361/11.28, allocations: 1.203 MB / 3.818 GB, free: 46.99 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/11.28, allocations: 3.469 kB / 3.818 GB, free: 46.99 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002671/11.28, allocations: 2.274 MB / 3.82 GB, free: 46.72 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004517/11.28, allocations: 325.2 kB / 3.82 GB, free: 46.56 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.929e-05/11.28, allocations: 0 / 3.82 GB, free: 46.56 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005109/11.28, allocations: 64.33 kB / 3.82 GB, free: 46.56 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/11.28, allocations: 54.89 kB / 3.82 GB, free: 46.56 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-05/11.28, allocations: 24.5 kB / 3.82 GB, free: 46.56 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0004358/11.28, allocations: 391 kB / 3.821 GB, free: 46.46 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3e-07/11.28, allocations: 0 / 3.821 GB, free: 46.46 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006291/11.29, allocations: 1.367 MB / 3.822 GB, free: 46.46 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pump.medium.p,pump.medium.h) * Number of discrete variables: 23 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse10.phase,$cse10.region,$cse11.region3boundary,$cse12.region3boundary,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.region3boundary,$cse16.region3boundary,$cse17.phase,$cse17.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01276/11.3, allocations: 4.561 MB / 3.826 GB, free: 45.61 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00277/11.3, allocations: 1.224 MB / 3.828 GB, free: 45.59 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/11.3, allocations: 7.234 kB / 3.828 GB, free: 45.59 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001149/11.3, allocations: 0.7436 MB / 3.828 GB, free: 45.59 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00182/11.3, allocations: 285.7 kB / 3.829 GB, free: 45.59 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007778/11.31, allocations: 2.413 MB / 3.831 GB, free: 45.08 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007085/11.31, allocations: 1.151 MB / 3.832 GB, free: 44.38 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.00146/11.31, allocations: 0.6826 MB / 3.833 GB, free: 44.37 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006296/11.32, allocations: 432 kB / 3.833 GB, free: 44.36 MB / 0.5417 GB Notification: Performance of SimCode: time 1.403e-06/11.32, allocations: 3.25 kB / 3.833 GB, free: 44.36 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1059/11.42, allocations: 50.57 MB / 3.883 GB, free: 41.57 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002046/11.42, allocations: 209.3 kB / 3.883 GB, free: 41.3 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.884/15.31, allocations: 0.9844 kB / 3.883 GB, free: 41.3 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpPowerCharacteristic_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpPowerCharacteristic.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic_res.mat does not exist to compare? outputFormat=mat