Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCheckValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.01072/0.01072, allocations: 103.6 kB / 15.05 MB, free: 6.031 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.001098/0.001098, allocations: 171.1 kB / 15.93 MB, free: 5.961 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.617/1.617, allocations: 170.9 MB / 187.5 MB, free: 1.004 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.3237/0.3237, allocations: 38.09 MB / 265.1 MB, free: 3.973 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004639/0.000464, allocations: 12 kB / 323.6 MB, free: 29.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09061/0.0911, allocations: 48.72 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve): time 0.05755/0.1487, allocations: 34.95 MB / 407.3 MB, free: 9.809 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03421/0.183, allocations: 17.2 MB / 424.5 MB, free: 8.574 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001053/0.1841, allocations: 27.75 kB / 424.5 MB, free: 8.547 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001814/0.1859, allocations: 430 kB / 424.9 MB, free: 8.125 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0168/0.2027, allocations: 4.036 MB / 428.9 MB, free: 4.078 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01235/0.2151, allocations: 2.89 MB / 431.8 MB, free: 1.184 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002596/0.2177, allocations: 1.005 MB / 432.8 MB, free: 180 kB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2789/0.4966, allocations: 377.3 kB / 433.2 MB, free: 14.57 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002373/0.4991, allocations: 0.6438 MB / 433.8 MB, free: 14.57 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01854/0.5177, allocations: 6.443 MB / 440.3 MB, free: 14.49 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002751/0.518, allocations: 31.16 kB / 440.3 MB, free: 14.49 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01895/0.5369, allocations: 7.429 MB / 447.7 MB, free: 14.47 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000329/0.5373, allocations: 147.4 kB / 447.9 MB, free: 14.47 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003645/0.5377, allocations: 174.9 kB / 448.1 MB, free: 14.44 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008599/0.5463, allocations: 3.506 MB / 451.6 MB, free: 14.28 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.5464, allocations: 0 / 451.6 MB, free: 14.28 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.998e-06/0.5464, allocations: 3.25 kB / 451.6 MB, free: 14.28 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.699e-06/0.5464, allocations: 5.969 kB / 451.6 MB, free: 14.28 MB / 330.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.0053/0.5517, allocations: 1.501 MB / 453.1 MB, free: 13.43 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.5518, allocations: 9.188 kB / 453.1 MB, free: 13.43 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001999/0.552, allocations: 106.7 kB / 453.2 MB, free: 13.39 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00321/0.5552, allocations: 296.8 kB / 453.5 MB, free: 13.35 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001295/0.5566, allocations: 0.5194 MB / 454 MB, free: 13.1 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.423e-05/0.5567, allocations: 51.69 kB / 454.1 MB, free: 13.1 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001368/0.5568, allocations: 59.17 kB / 454.1 MB, free: 13.1 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003526/0.5604, allocations: 0.983 MB / 455.1 MB, free: 12.93 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.251e-05/0.5604, allocations: 0 / 455.1 MB, free: 12.93 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/0.5605, allocations: 27.67 kB / 455.1 MB, free: 12.93 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.41e-05/0.5606, allocations: 23.78 kB / 455.1 MB, free: 12.93 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003832/0.5644, allocations: 0.9213 MB / 456.1 MB, free: 12.81 MB / 330.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.005936/0.5704, allocations: 4.362 MB / 460.4 MB, free: 9.219 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003446/0.5739, allocations: 0.7543 MB / 461.2 MB, free: 9.031 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3073/0.8812, allocations: 80.02 MB / 0.5285 GB, free: 4.281 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.888e-05/0.8813, allocations: 42.92 kB / 0.5286 GB, free: 4.234 MB / 410.7 MB Notification: Performance of pre-optimization done (n=48): time 3.005e-06/0.8813, allocations: 0 / 0.5286 GB, free: 4.234 MB / 410.7 MB Notification: Performance of matching and sorting (n=52): time 0.01061/0.8919, allocations: 2.295 MB / 0.5308 GB, free: 2.328 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.905e-05/0.8921, allocations: 115.2 kB / 0.5309 GB, free: 2.188 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008381/0.8929, allocations: 493 kB / 0.5314 GB, free: 1.801 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.016e-05/0.893, allocations: 36.2 kB / 0.5314 GB, free: 1.766 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002804/0.8933, allocations: 339.2 kB / 0.5317 GB, free: 1.52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002019/0.8935, allocations: 177.1 kB / 0.5319 GB, free: 1.371 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.43e-05/0.8936, allocations: 11.12 kB / 0.5319 GB, free: 1.371 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.8937, allocations: 372.5 kB / 0.5323 GB, free: 1.023 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001078/0.8948, allocations: 262 kB / 0.5325 GB, free: 0.8438 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001256/0.8961, allocations: 467.1 kB / 0.533 GB, free: 400 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001163/0.8973, allocations: 311.7 kB / 0.5333 GB, free: 196 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.8973, allocations: 0 / 0.5333 GB, free: 196 kB / 410.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.003799/0.9011, allocations: 0.9791 MB / 0.5342 GB, free: 15.47 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009269/0.9021, allocations: 2.354 MB / 0.5365 GB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.618e-05/0.9021, allocations: 8 kB / 0.5365 GB, free: 12.97 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003955/0.9061, allocations: 472.8 kB / 0.537 GB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000926/0.907, allocations: 147.2 kB / 0.5371 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002104/0.9091, allocations: 0.9368 MB / 0.538 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/0.9103, allocations: 86.17 kB / 0.5381 GB, free: 11.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/0.9104, allocations: 37.86 kB / 0.5382 GB, free: 11.51 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.9104, allocations: 4 kB / 0.5382 GB, free: 11.51 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004189/0.9146, allocations: 0.9322 MB / 0.5391 GB, free: 10.85 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.9147, allocations: 4.094 kB / 0.5391 GB, free: 10.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002378/0.917, allocations: 325.6 kB / 0.5394 GB, free: 10.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009541/0.918, allocations: 147.2 kB / 0.5395 GB, free: 10.44 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001732/0.9198, allocations: 0.8719 MB / 0.5404 GB, free: 9.664 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/0.9208, allocations: 95.73 kB / 0.5405 GB, free: 9.586 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.671e-05/0.9209, allocations: 33.06 kB / 0.5405 GB, free: 9.562 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 {4 19} Notification: Performance of prepare postOptimizeDAE: time 0.00051/0.9214, allocations: 287.9 kB / 0.5408 GB, free: 9.324 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001495/0.9216, allocations: 55.34 kB / 0.5408 GB, free: 9.27 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005575/0.9272, allocations: 2.748 MB / 0.5435 GB, free: 7.418 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.867e-05/0.9272, allocations: 37.25 kB / 0.5435 GB, free: 7.391 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.9273, allocations: 0 / 0.5435 GB, free: 7.391 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/0.9273, allocations: 3.984 kB / 0.5436 GB, free: 7.387 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006976/0.9343, allocations: 3.745 MB / 0.5472 GB, free: 4.891 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.353e-06/0.9343, allocations: 0 / 0.5472 GB, free: 4.891 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001045/0.9354, allocations: 152.1 kB / 0.5474 GB, free: 4.754 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007137/0.9361, allocations: 108.8 kB / 0.5475 GB, free: 4.66 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.2e-05/0.9362, allocations: 11.12 kB / 0.5475 GB, free: 4.656 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001096/0.9373, allocations: 1.128 MB / 0.5486 GB, free: 3.531 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.762e-06/0.9373, allocations: 9.109 kB / 0.5486 GB, free: 3.523 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005244/0.9426, allocations: 2.276 MB / 0.5508 GB, free: 1.977 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006646/0.9433, allocations: 339.3 kB / 0.5511 GB, free: 1.68 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001594/0.9434, allocations: 16.06 kB / 0.5511 GB, free: 1.676 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009047/0.9444, allocations: 66.98 kB / 0.5512 GB, free: 1.617 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001813/0.9446, allocations: 50.98 kB / 0.5513 GB, free: 1.574 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-05/0.9446, allocations: 19.8 kB / 0.5513 GB, free: 1.559 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008919/0.9455, allocations: 456.6 kB / 0.5517 GB, free: 1.207 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.9456, allocations: 0 / 0.5517 GB, free: 1.207 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005614/0.9512, allocations: 1.329 MB / 0.553 GB, free: 15.95 MB / 442.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: 21 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse12.phase,$cse12.region,$cse16.phase,$cse16.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 (62): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01413/0.9654, allocations: 4.113 MB / 0.557 GB, free: 12.74 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00492/0.9703, allocations: 1.399 MB / 0.5584 GB, free: 11.76 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.9704, allocations: 0 / 0.5584 GB, free: 11.76 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002024/0.9724, allocations: 0.7428 MB / 0.5591 GB, free: 11.33 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002596/0.975, allocations: 292.8 kB / 0.5594 GB, free: 11.11 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01157/0.9866, allocations: 8.026 MB / 0.5672 GB, free: 3.469 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009203/0.9876, allocations: 1.152 MB / 0.5684 GB, free: 2.293 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002001/0.9896, allocations: 0.6341 MB / 0.569 GB, free: 1.672 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007243/0.9904, allocations: 448.8 kB / 0.5694 GB, free: 1.582 MB / 442.7 MB Notification: Performance of SimCode: time 1.502e-06/0.9904, allocations: 0 / 0.5694 GB, free: 1.582 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4314/1.422, allocations: 58.71 MB / 0.6267 GB, free: 150.1 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001548/1.422, allocations: 279.7 kB / 0.627 GB, free: 149.8 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.326/7.748, allocations: 0 / 0.627 GB, free: 149.8 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve_res.mat does not exist to compare? outputFormat=mat