Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.009896/0.009896, allocations: 174 kB / 15.12 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.934/1.934, allocations: 194.5 MB / 210.3 MB, free: 7.602 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002084/0.002083, allocations: 132.5 kB / 255.6 MB, free: 10.23 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2593/0.2593, allocations: 40.01 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004663/0.0004664, allocations: 11.12 kB / 406.3 MB, free: 51.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09908/0.09958, allocations: 54.88 MB / 461.2 MB, free: 3.184 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.792/7.891, allocations: 2.628 GB / 3.079 GB, free: 36.75 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003262/7.892, allocations: 87.33 kB / 3.079 GB, free: 36.71 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.564/10.46, allocations: 456.8 MB / 3.525 GB, free: 51.54 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.286e-06/10.46, allocations: 0 / 3.525 GB, free: 51.54 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001342/10.46, allocations: 28.61 kB / 3.525 GB, free: 51.54 MB / 490.7 MB 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.01104/10.47, allocations: 2.459 MB / 3.527 GB, free: 50.31 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/10.47, allocations: 7.781 kB / 3.527 GB, free: 50.31 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006501/10.47, allocations: 197.2 kB / 3.527 GB, free: 50.27 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004518/10.47, allocations: 441.1 kB / 3.528 GB, free: 50.19 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003296/10.48, allocations: 1.011 MB / 3.529 GB, free: 49.84 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001243/10.48, allocations: 102.4 kB / 3.529 GB, free: 49.84 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003062/10.48, allocations: 125.1 kB / 3.529 GB, free: 49.84 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005184/10.48, allocations: 1.666 MB / 3.531 GB, free: 49.54 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.151e-05/10.48, allocations: 4.812 kB / 3.531 GB, free: 49.54 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001967/10.48, allocations: 59.05 kB / 3.531 GB, free: 49.54 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.218e-05/10.48, allocations: 49.25 kB / 3.531 GB, free: 49.54 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005228/10.49, allocations: 1.351 MB / 3.532 GB, free: 49.52 MB / 490.7 MB 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.01369/10.5, allocations: 7.664 MB / 3.54 GB, free: 44.98 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004008/10.5, allocations: 0.9043 MB / 3.54 GB, free: 44.95 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05498/10.56, allocations: 18.37 MB / 3.558 GB, free: 33.49 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.197e-05/10.56, allocations: 45.44 kB / 3.558 GB, free: 33.45 MB / 490.7 MB Notification: Performance of pre-optimization done (n=68): time 3.377e-06/10.56, allocations: 0 / 3.558 GB, free: 33.45 MB / 490.7 MB Notification: Performance of matching and sorting (n=92): time 0.0596/10.62, allocations: 6.482 MB / 3.565 GB, free: 32.39 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2055/10.82, allocations: 43.45 MB / 3.607 GB, free: 26.45 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001601/10.83, allocations: 0.7797 MB / 3.608 GB, free: 26.28 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002583/10.83, allocations: 46.52 kB / 3.608 GB, free: 26.25 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005289/10.83, allocations: 0.7087 MB / 3.609 GB, free: 25.88 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000442/10.83, allocations: 319.4 kB / 3.609 GB, free: 25.68 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/10.83, allocations: 30.62 kB / 3.609 GB, free: 25.68 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001093/10.83, allocations: 360.2 kB / 3.609 GB, free: 25.38 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001694/10.83, allocations: 471.9 kB / 3.61 GB, free: 25.37 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001921/10.83, allocations: 0.9678 MB / 3.611 GB, free: 24.73 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002015/10.83, allocations: 0.5967 MB / 3.611 GB, free: 24.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.237e-05/10.83, allocations: 3.031 kB / 3.611 GB, free: 24.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.005962/10.84, allocations: 1.776 MB / 3.613 GB, free: 24.54 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001459/10.84, allocations: 6.36 MB / 3.619 GB, free: 17.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.921e-05/10.84, allocations: 14.47 kB / 3.619 GB, free: 17.86 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00896/10.85, allocations: 1.057 MB / 3.62 GB, free: 17.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001945/10.85, allocations: 305.3 kB / 3.621 GB, free: 17.79 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004/10.86, allocations: 1.742 MB / 3.622 GB, free: 16.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002193/10.86, allocations: 116.7 kB / 3.622 GB, free: 16.72 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002028/10.86, allocations: 78.34 kB / 3.622 GB, free: 16.72 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/10.86, allocations: 7.688 kB / 3.622 GB, free: 16.71 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006684/10.87, allocations: 1.797 MB / 3.624 GB, free: 16.63 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-05/10.87, allocations: 21.81 kB / 3.624 GB, free: 16.62 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005302/10.87, allocations: 0.7384 MB / 3.625 GB, free: 16.57 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001872/10.87, allocations: 307 kB / 3.625 GB, free: 16.57 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004164/10.88, allocations: 1.701 MB / 3.627 GB, free: 31.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002027/10.88, allocations: 113.1 kB / 3.627 GB, free: 31.49 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001714/10.88, allocations: 78.3 kB / 3.627 GB, free: 31.49 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 73 * 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 (145): * Single equations (assignments): 143 * 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 {2 10,2 12} Notification: Performance of prepare postOptimizeDAE: time 0.001052/10.88, allocations: 426.5 kB / 3.628 GB, free: 31.29 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002979/10.88, allocations: 116.8 kB / 3.628 GB, free: 31.23 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009344/10.89, allocations: 3.85 MB / 3.631 GB, free: 29.87 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.86e-05/10.89, allocations: 41.22 kB / 3.631 GB, free: 29.86 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/10.89, allocations: 4 kB / 3.631 GB, free: 29.85 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-05/10.89, allocations: 3.281 kB / 3.631 GB, free: 29.85 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01351/10.9, allocations: 5.921 MB / 3.637 GB, free: 26.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-05/10.9, allocations: 4.156 kB / 3.637 GB, free: 26.92 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001129/10.9, allocations: 161.5 kB / 3.637 GB, free: 26.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008033/10.91, allocations: 1.718 MB / 3.639 GB, free: 25.62 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000188/10.91, allocations: 27.73 kB / 3.639 GB, free: 25.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004638/10.92, allocations: 2.44 MB / 3.641 GB, free: 23.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1141/11.03, allocations: 25.12 MB / 3.666 GB, free: 3.828 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01178/11.04, allocations: 3.93 MB / 3.67 GB, free: 268 kB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001238/11.05, allocations: 394.2 kB / 3.67 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000299/11.05, allocations: 20 kB / 3.67 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001455/11.05, allocations: 95.11 kB / 3.67 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002274/11.05, allocations: 82.14 kB / 3.67 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000128/11.05, allocations: 43.5 kB / 3.67 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001559/11.05, allocations: 0.6669 MB / 3.671 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.31e-07/11.05, allocations: 7.938 kB / 3.671 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.02029/11.07, allocations: 3.976 MB / 3.675 GB, free: 11.24 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 ($STATESET1.x,motor.inertiaRotor.phi,motor.la.i) * Number of discrete variables: 21 ($cse9.phase,$cse9.region,$cse11.phase,$cse11.region,$cse12.region3boundary,$cse13.region3boundary,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.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 (75): * Single equations (assignments): 67 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,3 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.04644/11.12, allocations: 7.741 MB / 3.683 GB, free: 4.508 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009384/11.13, allocations: 2.452 MB / 3.685 GB, free: 2.359 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.241e-05/11.13, allocations: 4.875 kB / 3.685 GB, free: 2.355 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003569/11.13, allocations: 1.125 MB / 3.686 GB, free: 1.352 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003646/11.13, allocations: 392.7 kB / 3.686 GB, free: 1.055 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6293/11.76, allocations: 93.46 MB / 3.778 GB, free: 59.29 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001102/11.76, allocations: 1.433 MB / 3.779 GB, free: 58.54 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002773/11.77, allocations: 0.7477 MB / 3.78 GB, free: 58.48 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001511/11.77, allocations: 0.712 MB / 3.781 GB, free: 58.47 MB / 0.5105 GB Notification: Performance of SimCode: time 1.172e-06/11.77, allocations: 3.562 kB / 3.781 GB, free: 58.47 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9836/12.75, allocations: 141 MB / 3.918 GB, free: 45.84 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002902/12.75, allocations: 263.1 kB / 3.918 GB, free: 45.49 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.89/22.64, allocations: 0 / 3.918 GB, free: 45.49 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor_res.mat does not exist to compare? outputFormat=mat