Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.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.TestControlledPump,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPump",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.01022/0.01022, allocations: 175.9 kB / 15.12 MB, free: 5.934 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 2.016/2.016, allocations: 194.5 MB / 210.3 MB, free: 7.797 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.002056/0.002055, allocations: 100.8 kB / 255.6 MB, free: 10.43 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.2514/0.2514, allocations: 40.01 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004747/0.000475, allocations: 11.19 kB / 406.3 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1028, allocations: 54.88 MB / 461.1 MB, free: 3.195 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.845/7.948, allocations: 2.614 GB / 3.064 GB, free: 50.36 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002941/7.949, allocations: 87.52 kB / 3.064 GB, free: 50.31 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.987/11.94, allocations: 0.7598 GB / 3.824 GB, free: 39.48 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.104e-06/11.94, allocations: 0 / 3.824 GB, free: 39.48 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001489/11.94, allocations: 40.78 kB / 3.824 GB, free: 39.48 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 289 * Number of variables: 289 Notification: Performance of Generate backend data structure: time 0.013/11.95, allocations: 2.881 MB / 3.827 GB, free: 37.87 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/11.95, allocations: 11.59 kB / 3.827 GB, free: 37.87 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000785/11.95, allocations: 173.8 kB / 3.827 GB, free: 37.76 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00768/11.96, allocations: 0.6465 MB / 3.828 GB, free: 37.64 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003503/11.96, allocations: 1.007 MB / 3.829 GB, free: 37.06 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001582/11.96, allocations: 98.58 kB / 3.829 GB, free: 37.02 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003772/11.96, allocations: 111.2 kB / 3.829 GB, free: 36.98 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008535/11.97, allocations: 2.005 MB / 3.831 GB, free: 36.12 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.748e-05/11.97, allocations: 7.438 kB / 3.831 GB, free: 36.11 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002874/11.97, allocations: 53.22 kB / 3.831 GB, free: 36.08 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.346e-05/11.97, allocations: 52.91 kB / 3.831 GB, free: 36.07 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00941/11.98, allocations: 1.872 MB / 3.833 GB, free: 35.62 MB / 0.4948 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.01466/12, allocations: 9.304 MB / 3.842 GB, free: 27.96 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007972/12, allocations: 1.607 MB / 3.844 GB, free: 27.46 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06198/12.07, allocations: 21.55 MB / 3.865 GB, free: 5.551 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.068e-05/12.07, allocations: 43.56 kB / 3.865 GB, free: 5.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=94): time 3.297e-06/12.07, allocations: 4 kB / 3.865 GB, free: 5.496 MB / 0.4948 GB Notification: Performance of matching and sorting (n=134): time 0.0834/12.15, allocations: 9.438 MB / 3.874 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/12.15, allocations: 171.5 kB / 3.874 GB, free: 11.75 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001762/12.15, allocations: 0.7317 MB / 3.875 GB, free: 11 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004562/12.15, allocations: 49.7 kB / 3.875 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007002/12.15, allocations: 0.6097 MB / 3.875 GB, free: 10.33 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000881/12.15, allocations: 453.1 kB / 3.876 GB, free: 9.891 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002138/12.15, allocations: 28 kB / 3.876 GB, free: 9.863 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002041/12.15, allocations: 365.9 kB / 3.876 GB, free: 9.5 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004127/12.16, allocations: 0.8237 MB / 3.877 GB, free: 8.676 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004494/12.16, allocations: 1.23 MB / 3.878 GB, free: 7.27 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004244/12.17, allocations: 0.9354 MB / 3.879 GB, free: 6.332 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.686e-06/12.17, allocations: 4 kB / 3.879 GB, free: 6.328 MB / 0.5105 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.011/12.18, allocations: 2.618 MB / 3.882 GB, free: 3.691 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.413/12.59, allocations: 4.616 MB / 3.886 GB, free: 56.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-05/12.59, allocations: 11.47 kB / 3.886 GB, free: 56.84 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01155/12.6, allocations: 1.438 MB / 3.888 GB, free: 56.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003616/12.61, allocations: 445 kB / 3.888 GB, free: 56.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007622/12.61, allocations: 3.262 MB / 3.891 GB, free: 54.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003414/12.62, allocations: 225.7 kB / 3.891 GB, free: 54.74 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003463/12.62, allocations: 101.6 kB / 3.892 GB, free: 54.74 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/12.62, allocations: 7.969 kB / 3.892 GB, free: 54.74 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01025/12.63, allocations: 2.31 MB / 3.894 GB, free: 54.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.396e-05/12.63, allocations: 20.56 kB / 3.894 GB, free: 54.71 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003393/12.63, allocations: 0.6075 MB / 3.894 GB, free: 54.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005607/12.64, allocations: 0.5756 MB / 3.895 GB, free: 54.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004517/12.64, allocations: 1.731 MB / 3.897 GB, free: 53.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003453/12.64, allocations: 232.7 kB / 3.897 GB, free: 53.66 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003398/12.65, allocations: 95.02 kB / 3.897 GB, free: 53.66 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 12 (source.medium.phase,sink.medium.phase,pump.heatTransfer.states[1].phase,source1.medium.phase,sink1.medium.phase,pump1.heatTransfer.states[1].phase,valve1.state_b.phase,valve1.state_a.phase,pump1.monitoring.state_in.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 (148): * Single equations (assignments): 144 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 8,3 11,1 7,2 10} Notification: Performance of prepare postOptimizeDAE: time 0.001238/12.65, allocations: 414.8 kB / 3.897 GB, free: 53.48 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004551/12.65, allocations: 137.6 kB / 3.898 GB, free: 53.48 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01958/12.67, allocations: 7.377 MB / 3.905 GB, free: 53.08 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001035/12.67, allocations: 84.47 kB / 3.905 GB, free: 53.08 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.246e-05/12.67, allocations: 0 / 3.905 GB, free: 53.08 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-05/12.67, allocations: 7.312 kB / 3.905 GB, free: 53.08 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02145/12.69, allocations: 9.852 MB / 3.914 GB, free: 52.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-05/12.69, allocations: 0 / 3.914 GB, free: 52.41 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002767/12.69, allocations: 330 kB / 3.915 GB, free: 52.41 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01166/12.7, allocations: 2.52 MB / 3.917 GB, free: 52.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003416/12.7, allocations: 48.23 kB / 3.917 GB, free: 52.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007804/12.71, allocations: 4.45 MB / 3.922 GB, free: 50.17 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/12.71, allocations: 0 / 3.922 GB, free: 50.17 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01247/12.72, allocations: 5.047 MB / 3.927 GB, free: 49.66 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001451/12.73, allocations: 0.536 MB / 3.927 GB, free: 49.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003262/12.73, allocations: 26.66 kB / 3.927 GB, free: 49.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002497/12.73, allocations: 229.7 kB / 3.927 GB, free: 49.43 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004109/12.73, allocations: 134 kB / 3.927 GB, free: 49.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001867/12.73, allocations: 70.47 kB / 3.928 GB, free: 49.43 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001175/12.73, allocations: 0.6311 MB / 3.928 GB, free: 49.32 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.61e-07/12.73, allocations: 3.188 kB / 3.928 GB, free: 49.32 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009643/12.74, allocations: 2.043 MB / 3.93 GB, free: 49.3 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 46 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.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,$cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse23.region3boundary,$cse24.region3boundary,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse30.phase,$cse30.region,$cse31.phase,$cse31.region,$cse33.phase,$cse33.region,$cse34.phase,$cse34.region,source.medium.phase,sink.medium.phase,pump.heatTransfer.states[1].phase,source1.medium.phase,sink1.medium.phase,pump1.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 17 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 7,3 16,1 7,2 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.02481/12.76, allocations: 7.602 MB / 3.938 GB, free: 47.92 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01668/12.78, allocations: 4.251 MB / 3.942 GB, free: 47.86 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.096e-05/12.78, allocations: 3.156 kB / 3.942 GB, free: 47.86 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006917/12.79, allocations: 2.287 MB / 3.944 GB, free: 47.83 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005545/12.79, allocations: 0.5506 MB / 3.944 GB, free: 47.81 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2621/13.06, allocations: 90.59 MB / 4.033 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001412/13.06, allocations: 1.651 MB / 4.035 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004588/13.06, allocations: 1.412 MB / 4.036 GB, free: 23.38 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001875/13.06, allocations: 0.8503 MB / 4.037 GB, free: 23.27 MB / 0.5105 GB Notification: Performance of SimCode: time 1.162e-06/13.06, allocations: 2.344 kB / 4.037 GB, free: 23.27 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6344/13.7, allocations: 93.69 MB / 4.128 GB, free: 68.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002002/13.7, allocations: 264.1 kB / 4.129 GB, free: 68.55 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.991/20.69, allocations: 0 / 4.129 GB, free: 68.55 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump_res.mat does not exist to compare? outputFormat=mat