Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.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.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.04/2.04, allocations: 306.1 MB / 321.4 MB, free: 10.75 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.001471/0.001471, allocations: 187.2 kB / 393.1 MB, free: 4.066 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.721/1.721, allocations: 225.7 MB / 0.6743 GB, free: 12.59 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.000845/0.0008449, allocations: 98.11 kB / 0.7935 GB, free: 40.04 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004931/0.0004932, allocations: 12.53 kB / 0.9224 GB, free: 8.641 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6939/0.6944, allocations: 121.3 MB / 1.041 GB, free: 58.35 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.03228/0.7268, allocations: 29.41 MB / 1.07 GB, free: 36.62 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01508/0.7419, allocations: 11.47 MB / 1.081 GB, free: 26.7 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002504/0.7445, allocations: 28.22 kB / 1.081 GB, free: 26.69 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002139/0.7467, allocations: 342.3 kB / 1.081 GB, free: 26.5 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.005213/0.7519, allocations: 1.239 MB / 1.082 GB, free: 25.78 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00331/0.7552, allocations: 1.031 MB / 1.083 GB, free: 25.25 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.00481/0.7601, allocations: 4.201 MB / 1.087 GB, free: 23.85 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002199/0.7623, allocations: 1.162 MB / 1.089 GB, free: 23.56 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003436/0.7657, allocations: 1.525 MB / 1.09 GB, free: 23.07 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003129/0.7689, allocations: 1.59 MB / 1.092 GB, free: 22.62 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0008335/0.7697, allocations: 64.84 kB / 1.092 GB, free: 22.62 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002958/0.7727, allocations: 0.8911 MB / 1.093 GB, free: 22.38 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0009088/0.7736, allocations: 343.3 kB / 1.093 GB, free: 22.23 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001602/0.7752, allocations: 0.7024 MB / 1.094 GB, free: 21.87 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003146/0.7784, allocations: 2.103 MB / 1.096 GB, free: 21.3 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.7784, allocations: 3.938 kB / 1.096 GB, free: 21.29 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.023e-06/0.7784, allocations: 0.9688 kB / 1.096 GB, free: 21.29 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.551e-05/0.7785, allocations: 0 / 1.096 GB, free: 21.29 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.002405/0.7809, allocations: 1.327 MB / 1.097 GB, free: 20.38 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.7809, allocations: 9.062 kB / 1.097 GB, free: 20.38 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003602/0.7813, allocations: 152.7 kB / 1.097 GB, free: 20.31 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001664/0.783, allocations: 0.8961 MB / 1.098 GB, free: 19.79 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.365e-05/0.7831, allocations: 81.31 kB / 1.098 GB, free: 19.77 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002284/0.7833, allocations: 116.7 kB / 1.098 GB, free: 19.74 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/0.7845, allocations: 0.6338 MB / 1.099 GB, free: 19.45 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.7845, allocations: 1.188 kB / 1.099 GB, free: 19.45 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.666e-05/0.7846, allocations: 29 kB / 1.099 GB, free: 19.43 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.765e-05/0.7846, allocations: 13.97 kB / 1.099 GB, free: 19.43 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009028/0.7855, allocations: 484.5 kB / 1.099 GB, free: 19.27 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.004376/0.7899, allocations: 2.874 MB / 1.102 GB, free: 17.46 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006222/0.7905, allocations: 319.8 kB / 1.102 GB, free: 17.34 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000314/0.7908, allocations: 148.3 kB / 1.103 GB, free: 17.29 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002654/0.7911, allocations: 349.3 kB / 1.103 GB, free: 16.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.7912, allocations: 32.97 kB / 1.103 GB, free: 16.86 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 2.484e-06/0.7912, allocations: 0 / 1.103 GB, free: 16.86 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.001441/0.7926, allocations: 0.5471 MB / 1.103 GB, free: 16.65 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/0.7927, allocations: 54.47 kB / 1.103 GB, free: 16.59 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001114/0.7938, allocations: 0.8969 MB / 1.104 GB, free: 16.21 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001339/0.7939, allocations: 57.89 kB / 1.104 GB, free: 16.17 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004133/0.7943, allocations: 0.5323 MB / 1.105 GB, free: 15.73 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.547e-05/0.7944, allocations: 114.6 kB / 1.105 GB, free: 15.64 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.969e-05/0.7945, allocations: 14.41 kB / 1.105 GB, free: 15.63 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.935e-05/0.7946, allocations: 338.2 kB / 1.105 GB, free: 15.31 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003992/0.795, allocations: 183.2 kB / 1.106 GB, free: 15.25 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001187/0.7962, allocations: 1.154 MB / 1.107 GB, free: 14.14 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008056/0.797, allocations: 467.7 kB / 1.107 GB, free: 13.91 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.797, allocations: 1.469 kB / 1.107 GB, free: 13.91 MB / 0.698 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001433/0.7984, allocations: 0.6634 MB / 1.108 GB, free: 13.65 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.76e-05/0.7985, allocations: 151.2 kB / 1.108 GB, free: 13.48 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.7985, allocations: 2.25 kB / 1.108 GB, free: 13.48 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.7986, allocations: 5.344 kB / 1.108 GB, free: 13.48 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001454/0.8, allocations: 244.9 kB / 1.108 GB, free: 13.45 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001054/0.8011, allocations: 2.961 MB / 1.111 GB, free: 10.48 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003494/0.8046, allocations: 0.7579 MB / 1.112 GB, free: 10.38 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.817e-05/0.8047, allocations: 25.78 kB / 1.112 GB, free: 10.37 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.8047, allocations: 4.531 kB / 1.112 GB, free: 10.37 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001001/0.8057, allocations: 0.4935 MB / 1.112 GB, free: 10.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.8057, allocations: 5.781 kB / 1.112 GB, free: 10.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.827e-06/0.8058, allocations: 5.156 kB / 1.112 GB, free: 10.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006795/0.8064, allocations: 163.5 kB / 1.112 GB, free: 10.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.8065, allocations: 3.906 kB / 1.112 GB, free: 10.18 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003406/0.8099, allocations: 0.7363 MB / 1.113 GB, free: 10.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.93e-05/0.81, allocations: 25.62 kB / 1.113 GB, free: 10.09 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (73): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008586/0.8108, allocations: 335.6 kB / 1.114 GB, free: 9.828 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003134/0.8112, allocations: 94.56 kB / 1.114 GB, free: 9.777 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001235/0.8124, allocations: 0.5181 MB / 1.114 GB, free: 9.57 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.499e-05/0.8124, allocations: 11.42 kB / 1.114 GB, free: 9.566 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.8124, allocations: 0 / 1.114 GB, free: 9.566 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.8125, allocations: 1.5 kB / 1.114 GB, free: 9.566 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002188/0.8146, allocations: 1.27 MB / 1.115 GB, free: 8.891 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.838e-06/0.8147, allocations: 3.359 kB / 1.115 GB, free: 8.891 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005561/0.8152, allocations: 115.9 kB / 1.115 GB, free: 8.879 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.264e-06/0.8153, allocations: 3.156 kB / 1.116 GB, free: 8.879 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.331e-05/0.8153, allocations: 16.61 kB / 1.116 GB, free: 8.871 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009446/0.8162, allocations: 2.94 MB / 1.118 GB, free: 5.902 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.8163, allocations: 9.078 kB / 1.118 GB, free: 5.898 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008855/0.8172, allocations: 0.5835 MB / 1.119 GB, free: 5.559 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004054/0.8176, allocations: 223 kB / 1.119 GB, free: 5.383 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.8177, allocations: 11.42 kB / 1.119 GB, free: 5.379 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005132/0.8182, allocations: 60.59 kB / 1.119 GB, free: 5.363 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.501e-05/0.8183, allocations: 35.47 kB / 1.119 GB, free: 5.352 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.93e-05/0.8183, allocations: 18.77 kB / 1.119 GB, free: 5.348 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007769/0.8191, allocations: 0.6002 MB / 1.12 GB, free: 5.09 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8191, allocations: 0 / 1.12 GB, free: 5.09 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002052/0.8212, allocations: 0.5329 MB / 1.12 GB, free: 4.988 MB / 0.698 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007668/0.822, allocations: 343.4 kB / 1.121 GB, free: 4.812 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002847/0.8248, allocations: 0.8571 MB / 1.122 GB, free: 4.594 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.8248, allocations: 384 / 1.122 GB, free: 4.594 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005846/0.8254, allocations: 234.2 kB / 1.122 GB, free: 4.535 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002594/0.828, allocations: 477.5 kB / 1.122 GB, free: 4.43 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002608/0.8307, allocations: 1.889 MB / 1.124 GB, free: 3.277 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004427/0.8311, allocations: 1.026 MB / 1.125 GB, free: 2.551 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001292/0.8324, allocations: 204.8 kB / 1.125 GB, free: 2.504 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001878/0.8326, allocations: 79.73 kB / 1.125 GB, free: 2.488 MB / 0.698 GB Notification: Performance of SimCode: time 8.51e-07/0.8326, allocations: 5.375 kB / 1.125 GB, free: 2.484 MB / 0.698 GB Notification: Performance of Templates: time 0.04975/0.8824, allocations: 24.44 MB / 1.149 GB, free: 5.172 MB / 0.7136 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile (rm -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)