Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.871/1.871, allocations: 306.1 MB / 321.4 MB, free: 10.69 MB / 250.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.001284/0.001284, allocations: 172.2 kB / 393.1 MB, free: 4.078 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.568/1.568, allocations: 225.7 MB / 0.6743 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000833/0.0008332, allocations: 102.2 kB / 0.7935 GB, free: 40.2 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004833/0.0004836, allocations: 12 kB / 0.9224 GB, free: 8.684 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6641/0.6646, allocations: 121.3 MB / 1.041 GB, free: 59.02 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.0179/0.6825, allocations: 19.01 MB / 1.059 GB, free: 45.03 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.006801/0.6894, allocations: 7.185 MB / 1.066 GB, free: 38.83 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009055/0.6903, allocations: 15.25 kB / 1.066 GB, free: 38.82 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0008289/0.6912, allocations: 210.6 kB / 1.067 GB, free: 38.7 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.002023/0.6932, allocations: 0.7096 MB / 1.067 GB, free: 38.28 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002074/0.6953, allocations: 0.7915 MB / 1.068 GB, free: 37.88 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002004/0.6973, allocations: 1.94 MB / 1.07 GB, free: 37.14 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000731/0.6981, allocations: 440.6 kB / 1.07 GB, free: 36.98 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00112/0.6992, allocations: 0.5744 MB / 1.071 GB, free: 36.74 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007662/0.7, allocations: 0.506 MB / 1.072 GB, free: 36.53 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001263/0.7001, allocations: 28.88 kB / 1.072 GB, free: 36.53 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001221/0.7013, allocations: 0.6351 MB / 1.072 GB, free: 36.34 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001699/0.7015, allocations: 139.4 kB / 1.072 GB, free: 36.26 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003727/0.7019, allocations: 380.2 kB / 1.073 GB, free: 36.03 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001309/0.7032, allocations: 1.045 MB / 1.074 GB, free: 35.69 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.7032, allocations: 0 / 1.074 GB, free: 35.69 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.893e-06/0.7032, allocations: 0 / 1.074 GB, free: 35.69 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.126e-05/0.7033, allocations: 3.938 kB / 1.074 GB, free: 35.68 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.001616/0.7049, allocations: 0.9871 MB / 1.075 GB, free: 34.97 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.705, allocations: 12.91 kB / 1.075 GB, free: 34.97 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001103/0.7051, allocations: 84.19 kB / 1.075 GB, free: 34.93 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005458/0.7056, allocations: 0.5019 MB / 1.075 GB, free: 34.56 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.817e-05/0.7057, allocations: 39.25 kB / 1.075 GB, free: 34.54 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.374e-05/0.7057, allocations: 47.53 kB / 1.075 GB, free: 34.53 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008993/0.7066, allocations: 0.6346 MB / 1.076 GB, free: 34.16 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.7067, allocations: 7.031 kB / 1.076 GB, free: 34.16 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.298e-05/0.7067, allocations: 23.84 kB / 1.076 GB, free: 34.14 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.7067, allocations: 12.41 kB / 1.076 GB, free: 34.14 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009379/0.7077, allocations: 0.5111 MB / 1.076 GB, free: 33.99 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.002614/0.7103, allocations: 3.202 MB / 1.08 GB, free: 31.36 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006303/0.7109, allocations: 360.9 kB / 1.08 GB, free: 31.22 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004299/0.7114, allocations: 241.4 kB / 1.08 GB, free: 31.14 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002425/0.7116, allocations: 345.8 kB / 1.08 GB, free: 30.75 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.7117, allocations: 41.53 kB / 1.081 GB, free: 30.71 MB / 0.698 GB Notification: Performance of pre-optimization done (n=38): time 2.644e-06/0.7117, allocations: 1.266 kB / 1.081 GB, free: 30.71 MB / 0.698 GB Notification: Performance of matching and sorting (n=38): time 0.001969/0.7136, allocations: 0.8663 MB / 1.081 GB, free: 30.35 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.468e-05/0.7137, allocations: 54.62 kB / 1.081 GB, free: 30.29 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005563/0.7142, allocations: 0.5818 MB / 1.082 GB, free: 30.02 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/0.7143, allocations: 37.7 kB / 1.082 GB, free: 29.98 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001927/0.7145, allocations: 330.7 kB / 1.082 GB, free: 29.72 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.989e-05/0.7146, allocations: 132.4 kB / 1.082 GB, free: 29.61 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.507e-05/0.7146, allocations: 11.22 kB / 1.082 GB, free: 29.61 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.141e-05/0.7147, allocations: 375.5 kB / 1.083 GB, free: 29.27 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004558/0.7152, allocations: 229.6 kB / 1.083 GB, free: 29.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005101/0.7157, allocations: 376.4 kB / 1.083 GB, free: 28.95 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009322/0.7166, allocations: 0.5942 MB / 1.084 GB, free: 28.59 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.7166, allocations: 6.594 kB / 1.084 GB, free: 28.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001269/0.7179, allocations: 0.7359 MB / 1.085 GB, free: 28.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.503e-05/0.718, allocations: 227.4 kB / 1.085 GB, free: 28.03 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.718, allocations: 6.219 kB / 1.085 GB, free: 28.03 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00065/0.7187, allocations: 159.3 kB / 1.085 GB, free: 28 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005158/0.7192, allocations: 145.5 kB / 1.085 GB, free: 27.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004133/0.7196, allocations: 0.6241 MB / 1.086 GB, free: 27.42 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005589/0.7202, allocations: 105.2 kB / 1.086 GB, free: 27.37 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.602e-05/0.7203, allocations: 34.61 kB / 1.086 GB, free: 27.36 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.33e-06/0.7203, allocations: 3.188 kB / 1.086 GB, free: 27.36 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001078/0.7214, allocations: 0.617 MB / 1.087 GB, free: 27.15 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.7214, allocations: 10.17 kB / 1.087 GB, free: 27.14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.372e-06/0.7214, allocations: 6.062 kB / 1.087 GB, free: 27.14 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005532/0.7219, allocations: 167.5 kB / 1.087 GB, free: 27.13 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.722, allocations: 9.906 kB / 1.087 GB, free: 27.12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005012/0.7225, allocations: 90.97 kB / 1.087 GB, free: 27.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-05/0.7225, allocations: 29.44 kB / 1.087 GB, free: 27.09 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.0002176/0.7228, allocations: 267.7 kB / 1.087 GB, free: 26.85 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.68e-05/0.7228, allocations: 70.22 kB / 1.087 GB, free: 26.81 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001289/0.7241, allocations: 0.6769 MB / 1.088 GB, free: 26.54 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.7242, allocations: 5.281 kB / 1.088 GB, free: 26.54 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.7242, allocations: 0 / 1.088 GB, free: 26.54 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.7242, allocations: 3.562 kB / 1.088 GB, free: 26.54 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002065/0.7262, allocations: 1.396 MB / 1.089 GB, free: 25.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.7263, allocations: 5.344 kB / 1.089 GB, free: 25.81 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003653/0.7266, allocations: 94.03 kB / 1.089 GB, free: 25.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003882/0.727, allocations: 135.7 kB / 1.089 GB, free: 25.77 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.492e-05/0.7271, allocations: 13.61 kB / 1.089 GB, free: 25.76 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004959/0.7276, allocations: 0.6378 MB / 1.09 GB, free: 25.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.7276, allocations: 8.906 kB / 1.09 GB, free: 25.19 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001188/0.7288, allocations: 0.7234 MB / 1.091 GB, free: 24.82 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000214/0.729, allocations: 206.2 kB / 1.091 GB, free: 24.66 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.602e-05/0.7291, allocations: 6.594 kB / 1.091 GB, free: 24.65 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004218/0.7295, allocations: 57.75 kB / 1.091 GB, free: 24.64 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.165e-05/0.7296, allocations: 28.84 kB / 1.091 GB, free: 24.64 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.031e-05/0.7297, allocations: 16.56 kB / 1.091 GB, free: 24.64 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004223/0.7301, allocations: 395.9 kB / 1.092 GB, free: 24.46 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.012e-06/0.7301, allocations: 0 / 1.092 GB, free: 24.46 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001053/0.7312, allocations: 398.3 kB / 1.092 GB, free: 24.37 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.0005818/0.7317, allocations: 312 kB / 1.092 GB, free: 24.21 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001821/0.7336, allocations: 0.9047 MB / 1.093 GB, free: 23.93 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.7336, allocations: 1.312 kB / 1.093 GB, free: 23.93 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006344/0.7342, allocations: 303.1 kB / 1.093 GB, free: 23.85 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001407/0.7357, allocations: 272.7 kB / 1.094 GB, free: 23.78 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001707/0.7374, allocations: 1.325 MB / 1.095 GB, free: 22.95 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/0.7377, allocations: 0.9113 MB / 1.096 GB, free: 22.23 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005782/0.7383, allocations: 149.1 kB / 1.096 GB, free: 22.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001666/0.7385, allocations: 65 kB / 1.096 GB, free: 22.18 MB / 0.698 GB Notification: Performance of SimCode: time 6.81e-07/0.7385, allocations: 0 / 1.096 GB, free: 22.18 MB / 0.698 GB Notification: Performance of Templates: time 0.02287/0.7614, allocations: 12.22 MB / 1.108 GB, free: 21.15 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)