Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.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.TestPipesAndValves.DynamicPipeClosingValve,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestPipesAndValves_DynamicPipeClosingValve",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.01039/0.01039, allocations: 174.2 kB / 15.12 MB, free: 5.977 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.005/2.005, allocations: 194.5 MB / 210.3 MB, free: 7.617 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.002085/0.002085, allocations: 116.6 kB / 255.6 MB, free: 10.24 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.2566/0.2566, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005062/0.0005062, allocations: 14.38 kB / 406.3 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1081, allocations: 54.86 MB / 461.1 MB, free: 3.223 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.91/8.018, allocations: 2.655 GB / 3.106 GB, free: 7.809 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002889/8.019, allocations: 77.72 kB / 3.106 GB, free: 7.77 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.691/10.71, allocations: 464.9 MB / 3.56 GB, free: 52.9 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.214e-06/10.71, allocations: 2.625 kB / 3.56 GB, free: 52.9 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.543e-05/10.71, allocations: 21.66 kB / 3.56 GB, free: 52.9 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.01101/10.72, allocations: 2.258 MB / 3.562 GB, free: 51.91 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.37e-05/10.72, allocations: 11.06 kB / 3.562 GB, free: 51.91 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004881/10.72, allocations: 133.5 kB / 3.562 GB, free: 51.87 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003934/10.73, allocations: 370.2 kB / 3.562 GB, free: 51.82 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003245/10.73, allocations: 0.8981 MB / 3.563 GB, free: 51.52 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.779e-05/10.73, allocations: 71.75 kB / 3.563 GB, free: 51.52 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002033/10.73, allocations: 76.75 kB / 3.563 GB, free: 51.52 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004779/10.73, allocations: 1.475 MB / 3.565 GB, free: 51.24 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.856e-05/10.73, allocations: 5.562 kB / 3.565 GB, free: 51.24 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001514/10.73, allocations: 36.12 kB / 3.565 GB, free: 51.24 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001089/10.73, allocations: 49.03 kB / 3.565 GB, free: 51.24 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005094/10.74, allocations: 1.347 MB / 3.566 GB, free: 51.23 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.01212/10.75, allocations: 6.553 MB / 3.573 GB, free: 47.06 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004482/10.76, allocations: 1.034 MB / 3.574 GB, free: 46.98 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1039/10.86, allocations: 32 MB / 3.605 GB, free: 27.1 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.979e-05/10.86, allocations: 45.28 kB / 3.605 GB, free: 27.06 MB / 490.7 MB Notification: Performance of pre-optimization done (n=57): time 4.018e-06/10.86, allocations: 1.406 kB / 3.605 GB, free: 27.06 MB / 490.7 MB Notification: Performance of matching and sorting (n=61): time 0.0144/10.87, allocations: 3.351 MB / 3.608 GB, free: 26.41 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.684e-05/10.87, allocations: 189.9 kB / 3.608 GB, free: 26.19 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001298/10.88, allocations: 0.645 MB / 3.609 GB, free: 26.05 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002733/10.88, allocations: 40 kB / 3.609 GB, free: 26.02 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003701/10.88, allocations: 409.6 kB / 3.609 GB, free: 25.84 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003186/10.88, allocations: 219.4 kB / 3.61 GB, free: 25.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.431e-05/10.88, allocations: 16 kB / 3.61 GB, free: 25.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001651/10.88, allocations: 390.4 kB / 3.61 GB, free: 25.39 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001621/10.88, allocations: 423.3 kB / 3.61 GB, free: 25.38 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00182/10.88, allocations: 0.6213 MB / 3.611 GB, free: 25.13 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001753/10.88, allocations: 488.7 kB / 3.612 GB, free: 25.11 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/10.88, allocations: 3.156 kB / 3.612 GB, free: 25.11 MB / 490.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004951/10.89, allocations: 1.367 MB / 3.613 GB, free: 25 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005691/10.89, allocations: 2.271 MB / 3.615 GB, free: 22.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.176e-05/10.89, allocations: 6.5 kB / 3.615 GB, free: 22.62 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005623/10.89, allocations: 0.6776 MB / 3.616 GB, free: 22.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001212/10.9, allocations: 161.5 kB / 3.616 GB, free: 22.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00263/10.9, allocations: 1.305 MB / 3.617 GB, free: 22.06 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001744/10.9, allocations: 106.6 kB / 3.617 GB, free: 22.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001715/10.9, allocations: 38 kB / 3.617 GB, free: 22.05 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/10.9, allocations: 3.938 kB / 3.617 GB, free: 22.05 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004699/10.9, allocations: 1.236 MB / 3.619 GB, free: 22.01 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.552e-05/10.9, allocations: 7.062 kB / 3.619 GB, free: 22.01 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003109/10.91, allocations: 432 kB / 3.619 GB, free: 21.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001317/10.91, allocations: 172.5 kB / 3.619 GB, free: 21.98 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002021/10.91, allocations: 1.102 MB / 3.62 GB, free: 21.46 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00165/10.91, allocations: 107.1 kB / 3.62 GB, free: 21.44 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000136/10.91, allocations: 36.7 kB / 3.62 GB, free: 21.44 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 9 (valve.state_b.phase,valve.state_a.phase,pipe.state_a.phase,source.medium.phase,pipe.statesFM[2].phase,sink.medium.phase,sink.state.phase,pipe.state_b.phase,source.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 67 * 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 23} Notification: Performance of prepare postOptimizeDAE: time 0.0008275/10.91, allocations: 368.9 kB / 3.621 GB, free: 21.25 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003052/10.91, allocations: 92.66 kB / 3.621 GB, free: 21.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006995/10.92, allocations: 3.348 MB / 3.624 GB, free: 19.84 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.178e-05/10.92, allocations: 36.45 kB / 3.624 GB, free: 19.84 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.187e-05/10.92, allocations: 3.5 kB / 3.624 GB, free: 19.84 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005129/10.93, allocations: 2.796 MB / 3.627 GB, free: 18.45 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0091/10.94, allocations: 4.606 MB / 3.631 GB, free: 16.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.298e-05/10.94, allocations: 0 / 3.631 GB, free: 16.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001368/10.94, allocations: 172.2 kB / 3.631 GB, free: 16.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00065/10.94, allocations: 94.62 kB / 3.632 GB, free: 16.38 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001047/10.94, allocations: 21.89 kB / 3.632 GB, free: 16.37 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004897/10.94, allocations: 0.6552 MB / 3.632 GB, free: 15.79 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/10.94, allocations: 7.328 kB / 3.632 GB, free: 15.79 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006279/10.94, allocations: 2.955 MB / 3.635 GB, free: 14.39 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001096/10.95, allocations: 458.8 kB / 3.636 GB, free: 14.09 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003241/10.95, allocations: 19.06 kB / 3.636 GB, free: 14.08 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001478/10.95, allocations: 79.86 kB / 3.636 GB, free: 14.07 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002234/10.95, allocations: 66.28 kB / 3.636 GB, free: 14.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.904e-05/10.95, allocations: 25.83 kB / 3.636 GB, free: 14.05 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001653/10.95, allocations: 0.804 MB / 3.637 GB, free: 13.72 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.51e-07/10.95, allocations: 0 / 3.637 GB, free: 13.72 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008483/10.96, allocations: 1.733 MB / 3.638 GB, free: 13.36 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pipe.mediums[1].p,pipe.mediums[1].h) * Number of discrete variables: 21 ($cse5.phase,$cse5.region,$cse7.region3boundary,$cse8.region3boundary,$cse9.phase,$cse9.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse23.phase,$cse23.region,source.medium.phase,pipe.statesFM[2].phase,sink.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 65 * 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: 1 * Mixed (continuous/discrete) equation systems: 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.01869/10.98, allocations: 5.508 MB / 3.644 GB, free: 10.88 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005961/10.98, allocations: 1.871 MB / 3.645 GB, free: 9.629 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.197e-06/10.98, allocations: 3.5 kB / 3.645 GB, free: 9.629 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002167/10.99, allocations: 0.9003 MB / 3.646 GB, free: 8.828 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004333/10.99, allocations: 480.6 kB / 3.647 GB, free: 8.488 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01416/11, allocations: 8.895 MB / 3.655 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001109/11.01, allocations: 1.342 MB / 3.657 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002593/11.01, allocations: 0.9056 MB / 3.658 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001267/11.01, allocations: 0.5632 MB / 3.658 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of SimCode: time 3.086e-06/11.01, allocations: 0 / 3.658 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5457/11.55, allocations: 66.14 MB / 3.723 GB, free: 53.75 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002444/11.56, allocations: 264.1 kB / 3.723 GB, free: 53.39 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.394/16.95, allocations: 1.125 kB / 3.723 GB, free: 53.39 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve_res.mat does not exist to compare? outputFormat=mat