Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.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.TestWaterPumpStorage,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpStorage",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.01012/0.01012, allocations: 176.3 kB / 15.13 MB, free: 5.949 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.159/2.159, allocations: 194.5 MB / 210.3 MB, free: 8.57 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.001768/0.001768, allocations: 112.1 kB / 255.6 MB, free: 11.18 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.257/0.257, allocations: 40.01 MB / 340.8 MB, free: 11.52 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004979/0.0004986, allocations: 11.06 kB / 406.3 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1015, allocations: 54.88 MB / 461.2 MB, free: 3.266 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage): time 0.06045/0.162, allocations: 38.97 MB / 0.4884 GB, free: 12.19 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.03558/0.1977, allocations: 18.65 MB / 0.5066 GB, free: 9.496 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001135/0.1988, allocations: 31.75 kB / 0.5066 GB, free: 9.465 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001815/0.2007, allocations: 393.7 kB / 0.507 GB, free: 9.078 MB / 362.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:772:36-773:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:772:36-773:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.01738/0.2181, allocations: 4.091 MB / 0.511 GB, free: 4.988 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01229/0.2304, allocations: 2.929 MB / 0.5139 GB, free: 2.051 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003394/0.2338, allocations: 1.817 MB / 0.5156 GB, free: 232 kB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009982/0.2349, allocations: 373.3 kB / 0.516 GB, free: 15.85 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001977/0.2369, allocations: 0.6262 MB / 0.5166 GB, free: 15.22 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01583/0.2528, allocations: 6.522 MB / 0.523 GB, free: 8.691 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002569/0.2531, allocations: 32 kB / 0.523 GB, free: 8.66 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02145/0.2745, allocations: 7.316 MB / 0.5302 GB, free: 1.332 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003761/0.275, allocations: 143.5 kB / 0.5303 GB, free: 1.191 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003982/0.2754, allocations: 177.3 kB / 0.5305 GB, free: 1.012 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.3298/0.6052, allocations: 3.563 MB / 0.5339 GB, free: 21.65 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.6053, allocations: 0 / 0.5339 GB, free: 21.65 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.6053, allocations: 2.078 kB / 0.5339 GB, free: 21.65 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.513e-05/0.6053, allocations: 0 / 0.5339 GB, free: 21.65 MB / 378.7 MB 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.007031/0.6124, allocations: 1.535 MB / 0.5354 GB, free: 20.91 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/0.6124, allocations: 9.094 kB / 0.5355 GB, free: 20.91 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003582/0.6128, allocations: 103.8 kB / 0.5356 GB, free: 20.88 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003601/0.6164, allocations: 309.8 kB / 0.5358 GB, free: 20.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001522/0.618, allocations: 0.5226 MB / 0.5364 GB, free: 20.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.915e-05/0.6181, allocations: 49.39 kB / 0.5364 GB, free: 20.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001454/0.6183, allocations: 61.3 kB / 0.5365 GB, free: 20.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004224/0.6225, allocations: 0.9913 MB / 0.5374 GB, free: 20.41 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.436e-05/0.6226, allocations: 6.281 kB / 0.5374 GB, free: 20.41 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001116/0.6227, allocations: 25.84 kB / 0.5375 GB, free: 20.41 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.987e-05/0.6228, allocations: 20.44 kB / 0.5375 GB, free: 20.41 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0045/0.6273, allocations: 0.9081 MB / 0.5384 GB, free: 20.41 MB / 378.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.006953/0.6343, allocations: 4.482 MB / 0.5427 GB, free: 17.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003955/0.6383, allocations: 0.7773 MB / 0.5435 GB, free: 17.14 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00116/0.6395, allocations: 311.6 kB / 0.5438 GB, free: 17.12 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3092/0.9487, allocations: 83.94 MB / 0.6258 GB, free: 9.379 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.852e-05/0.9488, allocations: 38.25 kB / 0.6258 GB, free: 9.336 MB / 442.7 MB Notification: Performance of pre-optimization done (n=48): time 2.735e-06/0.9488, allocations: 0 / 0.6258 GB, free: 9.336 MB / 442.7 MB Notification: Performance of matching and sorting (n=52): time 0.01057/0.9594, allocations: 2.276 MB / 0.628 GB, free: 7.496 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.138e-05/0.9595, allocations: 107.2 kB / 0.6281 GB, free: 7.367 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008713/0.9604, allocations: 0.4915 MB / 0.6286 GB, free: 6.977 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001017/0.9605, allocations: 31.64 kB / 0.6286 GB, free: 6.945 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002993/0.9609, allocations: 330.4 kB / 0.629 GB, free: 6.703 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002221/0.9611, allocations: 182.5 kB / 0.6291 GB, free: 6.551 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.691e-05/0.9612, allocations: 17.45 kB / 0.6292 GB, free: 6.547 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.9613, allocations: 365.1 kB / 0.6295 GB, free: 6.203 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001136/0.9625, allocations: 282.3 kB / 0.6298 GB, free: 6.008 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001276/0.9638, allocations: 479.2 kB / 0.6302 GB, free: 5.559 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001227/0.965, allocations: 319.9 kB / 0.6305 GB, free: 5.355 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.965, allocations: 0 / 0.6305 GB, free: 5.355 MB / 442.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.004266/0.9693, allocations: 1.026 MB / 0.6315 GB, free: 4.605 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001953/0.9695, allocations: 254.4 kB / 0.6318 GB, free: 4.297 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.638e-05/0.9696, allocations: 8 kB / 0.6318 GB, free: 4.289 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003911/0.9735, allocations: 458.5 kB / 0.6322 GB, free: 3.891 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/0.9745, allocations: 146.8 kB / 0.6324 GB, free: 3.762 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0021/0.9766, allocations: 0.9267 MB / 0.6333 GB, free: 2.953 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001236/0.9779, allocations: 84.28 kB / 0.6333 GB, free: 2.879 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/0.978, allocations: 35.3 kB / 0.6334 GB, free: 2.852 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.9781, allocations: 11.66 kB / 0.6334 GB, free: 2.844 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004169/0.9822, allocations: 0.9537 MB / 0.6343 GB, free: 2.172 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.9823, allocations: 4 kB / 0.6343 GB, free: 2.168 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002404/0.9847, allocations: 336.6 kB / 0.6347 GB, free: 1.887 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009902/0.9857, allocations: 143.1 kB / 0.6348 GB, free: 1.762 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001788/0.9875, allocations: 0.882 MB / 0.6356 GB, free: 0.9805 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001155/0.9887, allocations: 88.16 kB / 0.6357 GB, free: 0.9023 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.155e-05/0.9888, allocations: 37.5 kB / 0.6358 GB, free: 0.875 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (60): * Single equations (assignments): 59 * 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 20} Notification: Performance of prepare postOptimizeDAE: time 0.0005773/0.9894, allocations: 289.3 kB / 0.636 GB, free: 0.6406 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001799/0.9896, allocations: 68.06 kB / 0.6361 GB, free: 0.5781 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005977/0.9956, allocations: 2.913 MB / 0.639 GB, free: 14.63 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.877e-05/0.9957, allocations: 44.55 kB / 0.639 GB, free: 14.6 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.201e-05/0.9957, allocations: 4 kB / 0.639 GB, free: 14.6 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-05/0.9957, allocations: 3.984 kB / 0.639 GB, free: 14.59 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007838/1.004, allocations: 4.066 MB / 0.643 GB, free: 11.92 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/1.004, allocations: 0 / 0.643 GB, free: 11.92 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001405/1.005, allocations: 165 kB / 0.6431 GB, free: 11.77 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005879/1.006, allocations: 81.36 kB / 0.6432 GB, free: 11.7 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.907e-05/1.006, allocations: 17.73 kB / 0.6432 GB, free: 11.69 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009541/1.007, allocations: 1.181 MB / 0.6444 GB, free: 10.51 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/1.007, allocations: 192 / 0.6444 GB, free: 10.51 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005786/1.013, allocations: 2.58 MB / 0.6469 GB, free: 8.789 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007006/1.013, allocations: 321.4 kB / 0.6472 GB, free: 8.5 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000156/1.013, allocations: 18.64 kB / 0.6472 GB, free: 8.492 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008842/1.014, allocations: 74.34 kB / 0.6473 GB, free: 8.426 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001735/1.015, allocations: 50.98 kB / 0.6473 GB, free: 8.383 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.901e-05/1.015, allocations: 23.92 kB / 0.6474 GB, free: 8.363 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007785/1.015, allocations: 405.3 kB / 0.6478 GB, free: 8.055 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.01e-07/1.015, allocations: 2.844 kB / 0.6478 GB, free: 8.055 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00617/1.022, allocations: 1.327 MB / 0.6491 GB, free: 6.805 MB / 458.7 MB 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: 25 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.region3boundary,$cse11.region3boundary,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.region3boundary,$cse15.region3boundary,$cse17.phase,$cse17.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 (67): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * 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.01586/1.038, allocations: 4.403 MB / 0.6534 GB, free: 3.438 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005367/1.043, allocations: 1.513 MB / 0.6548 GB, free: 2.383 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.704e-06/1.043, allocations: 0 / 0.6548 GB, free: 2.383 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002208/1.045, allocations: 0.8607 MB / 0.6557 GB, free: 1.898 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002909/1.048, allocations: 312.7 kB / 0.656 GB, free: 1.66 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.104/1.152, allocations: 41.44 MB / 0.6964 GB, free: 1.414 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001015/1.153, allocations: 1.17 MB / 0.6976 GB, free: 216 kB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00212/1.155, allocations: 0.7115 MB / 0.6983 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008647/1.156, allocations: 450.3 kB / 0.6987 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of SimCode: time 1.292e-06/1.156, allocations: 0 / 0.6987 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4471/1.603, allocations: 59.44 MB / 0.7567 GB, free: 164 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001793/1.604, allocations: 271.3 kB / 0.757 GB, free: 163.6 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.824/8.428, allocations: 0 / 0.757 GB, free: 163.6 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage_res.mat does not exist to compare? outputFormat=mat