Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.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.TestWaterPumpDCMotorHeatTransfer,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotorHeatTransfer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotorHeatTransfer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001362/0.001362, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.349/1.349, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009537/0.0009538, allocations: 89.73 kB / 292.1 MB, free: 5.941 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1781/0.1781, allocations: 45.15 MB / 389.3 MB, free: 11.89 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.966e-05/2.968e-05, allocations: 4 kB / 460.5 MB, free: 69.94 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1027, allocations: 63.25 MB / 0.5115 GB, free: 6.715 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.223/5.326, allocations: 2.805 GB / 3.316 GB, free: 52.52 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002867/5.326, allocations: 87.95 kB / 3.316 GB, free: 52.43 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.478/6.804, allocations: 463.6 MB / 3.769 GB, free: 28.46 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.453e-06/6.804, allocations: 4 kB / 3.769 GB, free: 28.46 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.416e-05/6.804, allocations: 35.91 kB / 3.769 GB, free: 28.43 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: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.006827/6.811, allocations: 2.329 MB / 3.771 GB, free: 26.05 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/6.811, allocations: 12.03 kB / 3.771 GB, free: 26.04 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002319/6.811, allocations: 190.5 kB / 3.772 GB, free: 25.85 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002777/6.814, allocations: 445.6 kB / 3.772 GB, free: 25.41 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001957/6.816, allocations: 0.978 MB / 3.773 GB, free: 24.41 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.306e-05/6.816, allocations: 110.6 kB / 3.773 GB, free: 24.3 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001706/6.816, allocations: 132 kB / 3.773 GB, free: 24.17 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00319/6.82, allocations: 1.655 MB / 3.775 GB, free: 22.41 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.171e-05/6.82, allocations: 11.84 kB / 3.775 GB, free: 22.39 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001174/6.82, allocations: 59.95 kB / 3.775 GB, free: 22.34 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.353e-05/6.82, allocations: 46.36 kB / 3.775 GB, free: 22.29 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002352/6.822, allocations: 1.274 MB / 3.776 GB, free: 21.01 MB / 0.5417 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.007524/6.83, allocations: 7.818 MB / 3.784 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001733/6.831, allocations: 0.8629 MB / 3.785 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003791/6.832, allocations: 327 kB / 3.785 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.408/7.24, allocations: 26.79 MB / 3.811 GB, free: 50.83 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.183e-05/7.24, allocations: 41.78 kB / 3.811 GB, free: 50.79 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=71): time 3.487e-06/7.24, allocations: 0 / 3.811 GB, free: 50.79 MB / 0.5417 GB Notification: Performance of matching and sorting (n=74): time 0.005075/7.245, allocations: 2.219 MB / 3.813 GB, free: 50.39 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/7.245, allocations: 136.2 kB / 3.813 GB, free: 50.23 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/7.246, allocations: 0.8529 MB / 3.814 GB, free: 50.07 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.604e-05/7.246, allocations: 37.83 kB / 3.814 GB, free: 50.04 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.000364/7.247, allocations: 0.6915 MB / 3.815 GB, free: 49.77 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001826/7.247, allocations: 272.6 kB / 3.815 GB, free: 49.64 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.475e-05/7.247, allocations: 22.28 kB / 3.815 GB, free: 49.64 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.159e-05/7.247, allocations: 352.8 kB / 3.816 GB, free: 49.34 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004797/7.247, allocations: 268.2 kB / 3.816 GB, free: 49.34 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006635/7.248, allocations: 0.7084 MB / 3.817 GB, free: 48.8 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006002/7.249, allocations: 384.5 kB / 3.817 GB, free: 48.79 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.247e-06/7.249, allocations: 5.719 kB / 3.817 GB, free: 48.79 MB / 0.5417 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001917/7.251, allocations: 1.158 MB / 3.818 GB, free: 48.68 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009712/7.252, allocations: 5.662 MB / 3.824 GB, free: 42.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.455e-05/7.252, allocations: 15.38 kB / 3.824 GB, free: 42.79 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001228/7.253, allocations: 228.1 kB / 3.824 GB, free: 42.78 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009528/7.254, allocations: 288.5 kB / 3.824 GB, free: 42.78 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005919/7.254, allocations: 0.7167 MB / 3.825 GB, free: 42.26 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001127/7.256, allocations: 105.4 kB / 3.825 GB, free: 42.25 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001079/7.256, allocations: 64.22 kB / 3.825 GB, free: 42.25 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/7.256, allocations: 5.656 kB / 3.825 GB, free: 42.25 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00167/7.257, allocations: 1.015 MB / 3.826 GB, free: 42.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.955e-05/7.257, allocations: 21.84 kB / 3.826 GB, free: 42.23 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007986/7.258, allocations: 165.2 kB / 3.826 GB, free: 42.22 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008817/7.259, allocations: 284.8 kB / 3.826 GB, free: 42.22 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005111/7.26, allocations: 0.6958 MB / 3.827 GB, free: 41.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001047/7.261, allocations: 100.4 kB / 3.827 GB, free: 41.69 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001273/7.261, allocations: 64.14 kB / 3.827 GB, free: 41.69 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (134): * Single equations (assignments): 133 * 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 9} Notification: Performance of prepare postOptimizeDAE: time 0.0002822/7.261, allocations: 180.8 kB / 3.827 GB, free: 41.59 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002478/7.261, allocations: 121.3 kB / 3.828 GB, free: 41.52 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003582/7.265, allocations: 3.034 MB / 3.83 GB, free: 41.24 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.262e-05/7.265, allocations: 34.34 kB / 3.831 GB, free: 41.24 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/7.265, allocations: 5.328 kB / 3.831 GB, free: 41.24 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/7.265, allocations: 6.281 kB / 3.831 GB, free: 41.24 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006017/7.271, allocations: 4.615 MB / 3.835 GB, free: 40.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/7.271, allocations: 3.969 kB / 3.835 GB, free: 40.73 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006663/7.272, allocations: 165.7 kB / 3.835 GB, free: 40.73 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001886/7.274, allocations: 1.261 MB / 3.836 GB, free: 40.68 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.726e-05/7.274, allocations: 24.78 kB / 3.836 GB, free: 40.68 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001091/7.275, allocations: 1.41 MB / 3.838 GB, free: 40.13 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.461e-06/7.275, allocations: 5.891 kB / 3.838 GB, free: 40.13 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003576/7.278, allocations: 3.247 MB / 3.841 GB, free: 39.59 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009955/7.279, allocations: 430.4 kB / 3.841 GB, free: 39.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001578/7.28, allocations: 19.06 kB / 3.841 GB, free: 39.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007586/7.28, allocations: 93.62 kB / 3.842 GB, free: 39.39 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001691/7.281, allocations: 71.03 kB / 3.842 GB, free: 39.38 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.528e-05/7.281, allocations: 33.34 kB / 3.842 GB, free: 39.38 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001138/7.282, allocations: 0.8387 MB / 3.842 GB, free: 39.27 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.61e-07/7.282, allocations: 3.688 kB / 3.842 GB, free: 39.27 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006958/7.289, allocations: 1.685 MB / 3.844 GB, free: 39.27 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (motor.inertiaRotor.phi,motor.inertiaRotor.w,motor.la.i,housing.T) * 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,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.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 (72): * Single equations (assignments): 65 * 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 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.01016/7.299, allocations: 5.256 MB / 3.849 GB, free: 37.72 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002676/7.302, allocations: 1.609 MB / 3.851 GB, free: 37.68 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.583e-06/7.302, allocations: 3.125 kB / 3.851 GB, free: 37.68 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0008168/7.302, allocations: 0.7532 MB / 3.852 GB, free: 37.67 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002389/7.305, allocations: 456.6 kB / 3.852 GB, free: 37.66 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008265/7.313, allocations: 3.359 MB / 3.855 GB, free: 36.86 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006844/7.314, allocations: 1.406 MB / 3.857 GB, free: 36.14 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001645/7.316, allocations: 0.754 MB / 3.857 GB, free: 36.12 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000684/7.316, allocations: 0.7061 MB / 3.858 GB, free: 36.12 MB / 0.5417 GB Notification: Performance of SimCode: time 1.122e-06/7.316, allocations: 3 kB / 3.858 GB, free: 36.12 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1081/7.424, allocations: 71.04 MB / 3.927 GB, free: 33.01 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002105/7.425, allocations: 258.3 kB / 3.928 GB, free: 32.67 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.324/11.75, allocations: 7.469 kB / 3.928 GB, free: 32.66 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotorHeatTransfer_fmu --startTime=0 --stopTime=8 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotorHeatTransfer.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer_res.mat does not exist to compare? outputFormat=mat