Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.723/1.723, allocations: 291.7 MB / 306.8 MB, free: 7.691 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009185/0.0009181, allocations: 181.4 kB / 375.4 MB, free: 5.105 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 225.7 MB / 0.6538 GB, free: 13.63 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008543/0.0008543, allocations: 104.4 kB / 0.7699 GB, free: 50.25 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003974/0.0003975, allocations: 17.98 kB / 0.8956 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6706/0.671, allocations: 118.1 MB / 1.011 GB, free: 57.67 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01704/0.6881, allocations: 17.99 MB / 1.028 GB, free: 52.59 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.01072/0.6988, allocations: 7.71 MB / 1.036 GB, free: 47.46 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001071/0.6999, allocations: 30.22 kB / 1.036 GB, free: 47.45 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0008121/0.7008, allocations: 185.3 kB / 1.036 GB, free: 47.34 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.002034/0.7028, allocations: 0.6114 MB / 1.037 GB, free: 46.98 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.002/0.7048, allocations: 0.7402 MB / 1.038 GB, free: 46.63 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.002156/0.707, allocations: 1.694 MB / 1.039 GB, free: 45.92 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006453/0.7077, allocations: 436.2 kB / 1.04 GB, free: 45.76 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009597/0.7086, allocations: 0.5279 MB / 1.04 GB, free: 45.55 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006429/0.7093, allocations: 489.5 kB / 1.041 GB, free: 45.36 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 8.124e-05/0.7094, allocations: 28.25 kB / 1.041 GB, free: 45.36 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001273/0.7107, allocations: 0.601 MB / 1.041 GB, free: 45.18 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001316/0.7108, allocations: 127.5 kB / 1.041 GB, free: 45.11 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001978/0.711, allocations: 152.9 kB / 1.041 GB, free: 45.02 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0008841/0.7119, allocations: 0.7373 MB / 1.042 GB, free: 44.84 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.7119, allocations: 1.188 kB / 1.042 GB, free: 44.84 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.184e-06/0.7119, allocations: 0 / 1.042 GB, free: 44.84 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.988e-06/0.7119, allocations: 0 / 1.042 GB, free: 44.84 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001757/0.7137, allocations: 0.9826 MB / 1.043 GB, free: 44.13 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.597e-05/0.7138, allocations: 10.16 kB / 1.043 GB, free: 44.13 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001532/0.7139, allocations: 83.16 kB / 1.043 GB, free: 44.09 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006995/0.7146, allocations: 0.4967 MB / 1.044 GB, free: 43.73 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.779e-05/0.7147, allocations: 38.81 kB / 1.044 GB, free: 43.71 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.087e-05/0.7148, allocations: 46.62 kB / 1.044 GB, free: 43.7 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/0.7158, allocations: 0.6345 MB / 1.044 GB, free: 43.33 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.7158, allocations: 5.719 kB / 1.044 GB, free: 43.33 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.04e-05/0.7159, allocations: 22.22 kB / 1.044 GB, free: 43.31 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/0.7159, allocations: 15.36 kB / 1.044 GB, free: 43.31 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001003/0.7169, allocations: 0.5156 MB / 1.045 GB, free: 43.16 MB / 0.7136 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.002992/0.7199, allocations: 3.21 MB / 1.048 GB, free: 40.52 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006921/0.7206, allocations: 355.9 kB / 1.048 GB, free: 40.39 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000512/0.7211, allocations: 253.4 kB / 1.049 GB, free: 40.3 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003352/0.7215, allocations: 351.3 kB / 1.049 GB, free: 39.91 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.7215, allocations: 35.27 kB / 1.049 GB, free: 39.87 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=38): time 1.974e-06/0.7215, allocations: 0 / 1.049 GB, free: 39.87 MB / 0.7136 GB Notification: Performance of matching and sorting (n=38): time 0.002154/0.7237, allocations: 0.8623 MB / 1.05 GB, free: 39.52 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.45e-05/0.7237, allocations: 60.84 kB / 1.05 GB, free: 39.45 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006925/0.7244, allocations: 0.5718 MB / 1.05 GB, free: 39.18 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.197e-05/0.7245, allocations: 35.95 kB / 1.051 GB, free: 39.14 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002045/0.7247, allocations: 329.7 kB / 1.051 GB, free: 38.88 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.153e-05/0.7248, allocations: 135.4 kB / 1.051 GB, free: 38.78 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.287e-05/0.7248, allocations: 8 kB / 1.051 GB, free: 38.77 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.7249, allocations: 376.2 kB / 1.051 GB, free: 38.43 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004911/0.7254, allocations: 222 kB / 1.052 GB, free: 38.36 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005555/0.726, allocations: 379.2 kB / 1.052 GB, free: 38.12 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001048/0.7271, allocations: 0.5732 MB / 1.052 GB, free: 37.77 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.7271, allocations: 0 / 1.052 GB, free: 37.77 MB / 0.7136 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001471/0.7285, allocations: 0.7267 MB / 1.053 GB, free: 37.49 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001179/0.7287, allocations: 226.3 kB / 1.053 GB, free: 37.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.7287, allocations: 4.75 kB / 1.053 GB, free: 37.22 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006579/0.7294, allocations: 154.7 kB / 1.054 GB, free: 37.19 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006732/0.73, allocations: 154.4 kB / 1.054 GB, free: 37.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005478/0.7306, allocations: 0.6318 MB / 1.054 GB, free: 36.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006746/0.7313, allocations: 107.6 kB / 1.054 GB, free: 36.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.711e-05/0.7314, allocations: 28.22 kB / 1.054 GB, free: 36.56 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.7314, allocations: 6.406 kB / 1.054 GB, free: 36.56 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001259/0.7327, allocations: 0.6203 MB / 1.055 GB, free: 36.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.7327, allocations: 7.25 kB / 1.055 GB, free: 36.35 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.7327, allocations: 9.875 kB / 1.055 GB, free: 36.35 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000574/0.7333, allocations: 164.8 kB / 1.055 GB, free: 36.33 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.7333, allocations: 11.09 kB / 1.055 GB, free: 36.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005439/0.7338, allocations: 93.52 kB / 1.055 GB, free: 36.29 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.755e-05/0.7339, allocations: 32.53 kB / 1.055 GB, free: 36.28 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * 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.0003042/0.7342, allocations: 274 kB / 1.056 GB, free: 36.04 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.527e-05/0.7343, allocations: 63.69 kB / 1.056 GB, free: 36.01 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001458/0.7358, allocations: 0.669 MB / 1.056 GB, free: 35.75 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/0.7358, allocations: 5.625 kB / 1.056 GB, free: 35.75 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.7358, allocations: 1.078 kB / 1.056 GB, free: 35.75 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.846e-06/0.7358, allocations: 7.547 kB / 1.056 GB, free: 35.74 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002459/0.7383, allocations: 1.394 MB / 1.058 GB, free: 35.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.7383, allocations: 0 / 1.058 GB, free: 35.03 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003585/0.7387, allocations: 91.83 kB / 1.058 GB, free: 35.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004571/0.7391, allocations: 132.2 kB / 1.058 GB, free: 34.99 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.234e-05/0.7392, allocations: 11.94 kB / 1.058 GB, free: 34.99 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004986/0.7397, allocations: 0.6387 MB / 1.059 GB, free: 34.42 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.7397, allocations: 0 / 1.059 GB, free: 34.42 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/0.741, allocations: 0.7286 MB / 1.059 GB, free: 34.06 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002776/0.7413, allocations: 197.2 kB / 1.059 GB, free: 33.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.217e-05/0.7413, allocations: 14.69 kB / 1.059 GB, free: 33.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004344/0.7418, allocations: 55.45 kB / 1.06 GB, free: 33.88 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9e-05/0.7419, allocations: 29.05 kB / 1.06 GB, free: 33.88 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.924e-05/0.7419, allocations: 21.7 kB / 1.06 GB, free: 33.87 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0004743/0.7424, allocations: 393.3 kB / 1.06 GB, free: 33.7 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7424, allocations: 1.656 kB / 1.06 GB, free: 33.7 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001228/0.7437, allocations: 382.2 kB / 1.06 GB, free: 33.61 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.00066/0.7443, allocations: 311.3 kB / 1.061 GB, free: 33.46 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001979/0.7463, allocations: 0.9146 MB / 1.062 GB, free: 33.19 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.7463, allocations: 0 / 1.062 GB, free: 33.19 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0006644/0.747, allocations: 299.3 kB / 1.062 GB, free: 33.11 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001488/0.7485, allocations: 266.2 kB / 1.062 GB, free: 33.04 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001733/0.7502, allocations: 1.294 MB / 1.063 GB, free: 32.25 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/0.7506, allocations: 0.912 MB / 1.064 GB, free: 31.53 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.000642/0.7512, allocations: 154.2 kB / 1.064 GB, free: 31.51 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001462/0.7514, allocations: 59.17 kB / 1.064 GB, free: 31.5 MB / 0.7136 GB Notification: Performance of SimCode: time 4.81e-07/0.7514, allocations: 3.156 kB / 1.064 GB, free: 31.5 MB / 0.7136 GB Notification: Performance of Templates: time 0.01946/0.7708, allocations: 11.87 MB / 1.076 GB, free: 30.73 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)