Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.691/1.691, allocations: 297.4 MB / 312.6 MB, free: 2.922 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.001326/0.001326, allocations: 193.4 kB / 382.3 MB, free: 14.82 MB / 314.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.437/1.437, allocations: 225.7 MB / 0.6617 GB, free: 7.238 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.0007631/0.0007631, allocations: 94.19 kB / 0.7789 GB, free: 46.89 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003813/0.000381, allocations: 14.03 kB / 0.9058 GB, free: 4.938 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7297/0.7301, allocations: 119.2 MB / 1.022 GB, free: 57.96 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01575/0.7459, allocations: 19.2 MB / 1.041 GB, free: 44.25 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01196/0.7579, allocations: 12.24 MB / 1.053 GB, free: 34.09 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009439/0.7589, allocations: 20.62 kB / 1.053 GB, free: 34.08 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006831/0.7596, allocations: 217.3 kB / 1.053 GB, free: 33.96 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001783/0.7614, allocations: 0.6975 MB / 1.054 GB, free: 33.55 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00204/0.7634, allocations: 0.7938 MB / 1.055 GB, free: 33.14 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.00189/0.7653, allocations: 1.927 MB / 1.057 GB, free: 32.41 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006022/0.7659, allocations: 439 kB / 1.057 GB, free: 32.26 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008825/0.7668, allocations: 0.5592 MB / 1.058 GB, free: 32.03 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005656/0.7674, allocations: 0.5153 MB / 1.058 GB, free: 31.81 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 6.859e-05/0.7675, allocations: 28.78 kB / 1.058 GB, free: 31.81 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001116/0.7686, allocations: 0.6376 MB / 1.059 GB, free: 31.62 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001501/0.7688, allocations: 134.2 kB / 1.059 GB, free: 31.54 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002984/0.7691, allocations: 368.2 kB / 1.059 GB, free: 31.32 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001072/0.7702, allocations: 1.036 MB / 1.06 GB, free: 30.98 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.7702, allocations: 0 / 1.06 GB, free: 30.98 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.675e-06/0.7702, allocations: 2.719 kB / 1.06 GB, free: 30.98 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.898e-06/0.7702, allocations: 0 / 1.06 GB, free: 30.98 MB / 0.698 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.001573/0.7718, allocations: 0.9856 MB / 1.061 GB, free: 30.27 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.7718, allocations: 12.56 kB / 1.061 GB, free: 30.27 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001134/0.7719, allocations: 84.78 kB / 1.061 GB, free: 30.23 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005999/0.7726, allocations: 0.4912 MB / 1.062 GB, free: 29.87 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.135e-05/0.7726, allocations: 40.16 kB / 1.062 GB, free: 29.85 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.006e-05/0.7727, allocations: 47.28 kB / 1.062 GB, free: 29.84 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/0.7737, allocations: 0.6381 MB / 1.062 GB, free: 29.48 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.7737, allocations: 0 / 1.062 GB, free: 29.48 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.184e-05/0.7738, allocations: 18 kB / 1.062 GB, free: 29.46 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.39e-05/0.7738, allocations: 16.31 kB / 1.062 GB, free: 29.46 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009088/0.7747, allocations: 0.5093 MB / 1.063 GB, free: 29.3 MB / 0.698 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.002589/0.7773, allocations: 3.209 MB / 1.066 GB, free: 26.67 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000611/0.7779, allocations: 357.9 kB / 1.066 GB, free: 26.54 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004318/0.7784, allocations: 251.5 kB / 1.067 GB, free: 26.44 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002938/0.7787, allocations: 349.8 kB / 1.067 GB, free: 26.05 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.7787, allocations: 41.75 kB / 1.067 GB, free: 26.01 MB / 0.698 GB Notification: Performance of pre-optimization done (n=38): time 1.824e-06/0.7787, allocations: 0 / 1.067 GB, free: 26.01 MB / 0.698 GB Notification: Performance of matching and sorting (n=38): time 0.00191/0.7806, allocations: 0.8648 MB / 1.068 GB, free: 25.65 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/0.7807, allocations: 62.06 kB / 1.068 GB, free: 25.58 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000578/0.7813, allocations: 0.567 MB / 1.068 GB, free: 25.32 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.439e-05/0.7813, allocations: 33.7 kB / 1.069 GB, free: 25.28 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001962/0.7815, allocations: 332.2 kB / 1.069 GB, free: 25.02 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.781e-05/0.7816, allocations: 131.5 kB / 1.069 GB, free: 24.91 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.777e-05/0.7816, allocations: 15.09 kB / 1.069 GB, free: 24.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.7817, allocations: 375.9 kB / 1.069 GB, free: 24.56 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000438/0.7822, allocations: 223.5 kB / 1.07 GB, free: 24.49 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004959/0.7827, allocations: 376.1 kB / 1.07 GB, free: 24.25 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008749/0.7836, allocations: 0.6008 MB / 1.07 GB, free: 23.89 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.7836, allocations: 3.312 kB / 1.07 GB, free: 23.89 MB / 0.698 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001224/0.7848, allocations: 0.7391 MB / 1.071 GB, free: 23.61 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001021/0.7849, allocations: 223.2 kB / 1.071 GB, free: 23.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.785, allocations: 6.969 kB / 1.071 GB, free: 23.33 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006025/0.7856, allocations: 164.6 kB / 1.072 GB, free: 23.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005031/0.7861, allocations: 144.3 kB / 1.072 GB, free: 23.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004271/0.7865, allocations: 0.6235 MB / 1.072 GB, free: 22.72 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005069/0.787, allocations: 101.1 kB / 1.072 GB, free: 22.68 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.233e-05/0.7871, allocations: 33.62 kB / 1.072 GB, free: 22.67 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.853e-06/0.7871, allocations: 6.25 kB / 1.072 GB, free: 22.67 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00104/0.7882, allocations: 0.6197 MB / 1.073 GB, free: 22.46 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.7882, allocations: 3.312 kB / 1.073 GB, free: 22.46 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.62e-06/0.7882, allocations: 6.156 kB / 1.073 GB, free: 22.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005291/0.7887, allocations: 170.7 kB / 1.073 GB, free: 22.44 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.7887, allocations: 8.797 kB / 1.073 GB, free: 22.44 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004366/0.7892, allocations: 89.89 kB / 1.073 GB, free: 22.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.569e-05/0.7892, allocations: 36.05 kB / 1.073 GB, free: 22.39 MB / 0.698 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 (69): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002233/0.7895, allocations: 276.1 kB / 1.074 GB, free: 22.15 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.852e-05/0.7896, allocations: 64 kB / 1.074 GB, free: 22.12 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00132/0.7909, allocations: 0.6669 MB / 1.074 GB, free: 21.85 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/0.7909, allocations: 6.469 kB / 1.074 GB, free: 21.85 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.7909, allocations: 0 / 1.074 GB, free: 21.85 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.7909, allocations: 14.97 kB / 1.074 GB, free: 21.84 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00208/0.793, allocations: 1.389 MB / 1.076 GB, free: 21.12 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/0.793, allocations: 7.125 kB / 1.076 GB, free: 21.12 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003536/0.7934, allocations: 89.77 kB / 1.076 GB, free: 21.12 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003427/0.7937, allocations: 130 kB / 1.076 GB, free: 21.09 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.333e-05/0.7938, allocations: 13.58 kB / 1.076 GB, free: 21.08 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004574/0.7943, allocations: 0.6307 MB / 1.077 GB, free: 20.52 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.7943, allocations: 3.156 kB / 1.077 GB, free: 20.52 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/0.7954, allocations: 0.7303 MB / 1.077 GB, free: 20.15 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001809/0.7956, allocations: 204.5 kB / 1.077 GB, free: 19.98 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.534e-05/0.7957, allocations: 11.28 kB / 1.077 GB, free: 19.98 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003959/0.7961, allocations: 50.92 kB / 1.078 GB, free: 19.97 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.587e-05/0.7962, allocations: 35.02 kB / 1.078 GB, free: 19.96 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.42e-05/0.7962, allocations: 21.31 kB / 1.078 GB, free: 19.95 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003635/0.7966, allocations: 391.3 kB / 1.078 GB, free: 19.78 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7966, allocations: 3.156 kB / 1.078 GB, free: 19.78 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001011/0.7976, allocations: 380.4 kB / 1.078 GB, free: 19.7 MB / 0.698 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006096/0.7982, allocations: 313.5 kB / 1.079 GB, free: 19.54 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001604/0.7998, allocations: 0.893 MB / 1.079 GB, free: 19.27 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.7998, allocations: 3.094 kB / 1.079 GB, free: 19.27 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005873/0.8004, allocations: 301.9 kB / 1.08 GB, free: 19.19 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001329/0.8018, allocations: 281.8 kB / 1.08 GB, free: 19.11 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001474/0.8032, allocations: 1.341 MB / 1.081 GB, free: 18.27 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002554/0.8035, allocations: 0.9039 MB / 1.082 GB, free: 17.56 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005032/0.804, allocations: 153.4 kB / 1.082 GB, free: 17.53 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001435/0.8042, allocations: 66.88 kB / 1.082 GB, free: 17.51 MB / 0.698 GB Notification: Performance of SimCode: time 2.4e-07/0.8042, allocations: 0 / 1.082 GB, free: 17.51 MB / 0.698 GB Notification: Performance of Templates: time 0.01814/0.8223, allocations: 12.3 MB / 1.094 GB, free: 16.5 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)