Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve") translateModel(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.714/1.714, allocations: 285.4 MB / 298 MB, free: 5.984 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001416/0.001416, allocations: 172.8 kB / 366.4 MB, free: 2.109 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.807/1.807, allocations: 205.1 MB / 0.6248 GB, free: 7.727 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008413/0.0008411, allocations: 98.59 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.109e-05/4.116e-05, allocations: 4 kB / 0.8583 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7648/0.7649, allocations: 115.3 MB / 0.9709 GB, free: 78.03 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.038/1.803, allocations: 378.8 MB / 1.341 GB, free: 175.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002307/1.804, allocations: 84.45 kB / 1.341 GB, free: 175.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.4834/2.287, allocations: 251.6 MB / 1.587 GB, free: 4.863 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.946e-06/2.287, allocations: 4 kB / 1.587 GB, free: 4.859 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.691e-05/2.287, allocations: 20.11 kB / 1.587 GB, free: 4.84 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001695/2.289, allocations: 0.8292 MB / 1.587 GB, free: 3.965 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/2.289, allocations: 12.03 kB / 1.587 GB, free: 3.953 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001304/2.289, allocations: 67.2 kB / 1.587 GB, free: 3.887 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008522/2.29, allocations: 467.6 kB / 1.588 GB, free: 3.391 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.841e-05/2.29, allocations: 24.78 kB / 1.588 GB, free: 3.367 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.618e-05/2.29, allocations: 40 kB / 1.588 GB, free: 3.328 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005291/2.29, allocations: 267.7 kB / 1.588 GB, free: 3.059 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/2.291, allocations: 3.938 kB / 1.588 GB, free: 3.055 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.63e-05/2.291, allocations: 12 kB / 1.588 GB, free: 3.043 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/2.291, allocations: 11.94 kB / 1.588 GB, free: 3.031 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003738/2.291, allocations: 203 kB / 1.588 GB, free: 2.832 MB / 0.9167 GB Warning: The model contains alias variables with conflicting start and/or 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.00219/2.293, allocations: 1.322 MB / 1.59 GB, free: 1.391 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005074/2.294, allocations: 240.2 kB / 1.59 GB, free: 1.148 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001805/2.294, allocations: 112.9 kB / 1.59 GB, free: 1.035 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004682/2.294, allocations: 0.5025 MB / 1.591 GB, free: 432 kB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/2.294, allocations: 42.5 kB / 1.591 GB, free: 380 kB / 0.9167 GB Notification: Performance of pre-optimization done (n=25): time 1.943e-06/2.294, allocations: 0 / 1.591 GB, free: 380 kB / 0.9167 GB Notification: Performance of matching and sorting (n=25): time 0.0006027/2.295, allocations: 264.1 kB / 1.591 GB, free: 108 kB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/2.295, allocations: 55.41 kB / 1.591 GB, free: 40 kB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004936/2.296, allocations: 400.1 kB / 1.591 GB, free: 15.64 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.921e-05/2.296, allocations: 37.7 kB / 1.591 GB, free: 15.6 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.000195/2.296, allocations: 244.7 kB / 1.592 GB, free: 15.36 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 8.494e-05/2.296, allocations: 86.73 kB / 1.592 GB, free: 15.27 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.695e-05/2.296, allocations: 4 kB / 1.592 GB, free: 15.27 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001598/2.296, allocations: 358.8 kB / 1.592 GB, free: 14.91 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001717/2.296, allocations: 83.92 kB / 1.592 GB, free: 14.82 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002656/2.297, allocations: 190.2 kB / 1.592 GB, free: 14.6 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000192/2.297, allocations: 103.6 kB / 1.592 GB, free: 14.5 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/2.297, allocations: 0 / 1.592 GB, free: 14.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006557/2.297, allocations: 344.6 kB / 1.593 GB, free: 14.16 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001293/2.298, allocations: 280.7 kB / 1.593 GB, free: 13.86 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/2.298, allocations: 0 / 1.593 GB, free: 13.86 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002463/2.298, allocations: 40.83 kB / 1.593 GB, free: 13.82 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003548/2.298, allocations: 75.89 kB / 1.593 GB, free: 13.75 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000462/2.299, allocations: 0.5718 MB / 1.594 GB, free: 13.15 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005274/2.299, allocations: 67.7 kB / 1.594 GB, free: 13.08 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.482e-05/2.299, allocations: 19.98 kB / 1.594 GB, free: 13.06 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 9.748e-06/2.299, allocations: 4 kB / 1.594 GB, free: 13.06 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004779/2.3, allocations: 238.5 kB / 1.594 GB, free: 12.83 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.414e-06/2.3, allocations: 0 / 1.594 GB, free: 12.83 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.162e-06/2.3, allocations: 4 kB / 1.594 GB, free: 12.82 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003983/2.3, allocations: 91.88 kB / 1.594 GB, free: 12.73 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.975e-06/2.3, allocations: 0 / 1.594 GB, free: 12.73 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004413/2.301, allocations: 67.69 kB / 1.594 GB, free: 12.67 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.788e-05/2.301, allocations: 16 kB / 1.594 GB, free: 12.65 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * 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 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001258/2.301, allocations: 128.9 kB / 1.594 GB, free: 12.52 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.615e-05/2.301, allocations: 47.34 kB / 1.594 GB, free: 12.47 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000705/2.302, allocations: 360.6 kB / 1.595 GB, free: 12.11 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/2.302, allocations: 4 kB / 1.595 GB, free: 12.1 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/2.302, allocations: 0 / 1.595 GB, free: 12.1 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/2.302, allocations: 7.938 kB / 1.595 GB, free: 12.09 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001307/2.303, allocations: 0.8788 MB / 1.596 GB, free: 11.15 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/2.303, allocations: 0 / 1.596 GB, free: 11.15 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002412/2.303, allocations: 52.09 kB / 1.596 GB, free: 11.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001869/2.303, allocations: 52.77 kB / 1.596 GB, free: 11.04 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.557e-05/2.304, allocations: 8 kB / 1.596 GB, free: 11.04 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004108/2.304, allocations: 0.5563 MB / 1.596 GB, free: 10.45 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/2.304, allocations: 0 / 1.596 GB, free: 10.45 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005748/2.305, allocations: 485.9 kB / 1.597 GB, free: 9.922 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001952/2.305, allocations: 160.3 kB / 1.597 GB, free: 9.746 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.613e-05/2.305, allocations: 8 kB / 1.597 GB, free: 9.738 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003866/2.305, allocations: 39.95 kB / 1.597 GB, free: 9.699 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.227e-05/2.305, allocations: 27.97 kB / 1.597 GB, free: 9.672 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.062e-05/2.305, allocations: 23.88 kB / 1.597 GB, free: 9.648 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0003955/2.306, allocations: 309.6 kB / 1.597 GB, free: 9.348 MB / 0.9323 GB Notification: Performance of sort global known variables: time 3.787e-06/2.306, allocations: 0 / 1.597 GB, free: 9.348 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.000973/2.307, allocations: 283.5 kB / 1.597 GB, free: 9.07 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007799/2.307, allocations: 366.9 kB / 1.598 GB, free: 8.711 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0008662/2.308, allocations: 386.6 kB / 1.598 GB, free: 8.332 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/2.308, allocations: 4 kB / 1.598 GB, free: 8.328 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0002848/2.309, allocations: 143.8 kB / 1.598 GB, free: 8.188 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001344/2.31, allocations: 250.7 kB / 1.599 GB, free: 7.945 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/2.311, allocations: 0.5856 MB / 1.599 GB, free: 7.324 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004468/2.312, allocations: 0.8717 MB / 1.6 GB, free: 6.426 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0005713/2.312, allocations: 140.2 kB / 1.6 GB, free: 6.289 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.079e-05/2.312, allocations: 35.44 kB / 1.6 GB, free: 6.254 MB / 0.9323 GB Notification: Performance of SimCode: time 7.01e-07/2.312, allocations: 0 / 1.6 GB, free: 6.254 MB / 0.9323 GB Notification: Performance of Templates: time 0.02224/2.335, allocations: 12.23 MB / 1.612 GB, free: 10.13 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)