Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.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.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") 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.858/1.858, allocations: 297.4 MB / 312.6 MB, free: 2.91 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.001174/0.001174, allocations: 181.2 kB / 382.3 MB, free: 14.86 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.473/1.473, allocations: 225.7 MB / 0.6617 GB, free: 7.23 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.0008374/0.0008374, allocations: 92.97 kB / 0.7789 GB, free: 47.01 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004225/0.0004226, allocations: 8 kB / 0.9058 GB, free: 4.965 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7099/0.7104, allocations: 119.2 MB / 1.022 GB, free: 57.81 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.02383/0.7343, allocations: 29.76 MB / 1.051 GB, free: 36.24 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0184/0.7527, allocations: 16.95 MB / 1.068 GB, free: 22.08 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001655/0.7545, allocations: 37.88 kB / 1.068 GB, free: 22.05 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001099/0.7556, allocations: 352 kB / 1.068 GB, free: 21.85 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.003381/0.759, allocations: 1.215 MB / 1.069 GB, free: 21.16 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002545/0.7615, allocations: 1.04 MB / 1.07 GB, free: 20.63 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004899/0.7664, allocations: 4.18 MB / 1.075 GB, free: 19.23 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001797/0.7682, allocations: 1.15 MB / 1.076 GB, free: 18.94 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002911/0.7712, allocations: 1.505 MB / 1.077 GB, free: 18.46 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002643/0.7738, allocations: 1.588 MB / 1.079 GB, free: 18.01 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0005053/0.7744, allocations: 64.09 kB / 1.079 GB, free: 18.01 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002259/0.7766, allocations: 0.8967 MB / 1.08 GB, free: 17.77 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004147/0.7771, allocations: 339.7 kB / 1.08 GB, free: 17.62 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0009216/0.778, allocations: 0.6995 MB / 1.081 GB, free: 17.26 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002357/0.7803, allocations: 2.082 MB / 1.083 GB, free: 16.7 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.7804, allocations: 3.25 kB / 1.083 GB, free: 16.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.994e-06/0.7804, allocations: 0 / 1.083 GB, free: 16.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.875e-05/0.7804, allocations: 4 kB / 1.083 GB, free: 16.69 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.00198/0.7824, allocations: 1.314 MB / 1.084 GB, free: 15.79 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.7824, allocations: 6.688 kB / 1.084 GB, free: 15.79 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000275/0.7827, allocations: 147.1 kB / 1.084 GB, free: 15.73 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001333/0.7841, allocations: 0.8984 MB / 1.085 GB, free: 15.22 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.677e-05/0.7841, allocations: 78.38 kB / 1.085 GB, free: 15.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001846/0.7843, allocations: 122.2 kB / 1.085 GB, free: 15.16 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009134/0.7852, allocations: 0.6305 MB / 1.086 GB, free: 14.88 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.7853, allocations: 7.938 kB / 1.086 GB, free: 14.87 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.503e-05/0.7853, allocations: 26.06 kB / 1.086 GB, free: 14.85 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.545e-05/0.7853, allocations: 22.38 kB / 1.086 GB, free: 14.85 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007451/0.7861, allocations: 471.5 kB / 1.086 GB, free: 14.7 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.003688/0.7898, allocations: 2.873 MB / 1.089 GB, free: 12.89 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005034/0.7903, allocations: 310.3 kB / 1.089 GB, free: 12.77 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002591/0.7906, allocations: 152.9 kB / 1.09 GB, free: 12.71 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002398/0.7909, allocations: 344.4 kB / 1.09 GB, free: 12.33 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/0.7909, allocations: 34.84 kB / 1.09 GB, free: 12.29 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 3.968e-06/0.7909, allocations: 3.719 kB / 1.09 GB, free: 12.29 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.001135/0.792, allocations: 0.5382 MB / 1.09 GB, free: 12.09 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.805e-05/0.7921, allocations: 61.28 kB / 1.09 GB, free: 12.02 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008433/0.7929, allocations: 0.8844 MB / 1.091 GB, free: 11.65 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.727e-05/0.793, allocations: 53.05 kB / 1.091 GB, free: 11.61 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003392/0.7934, allocations: 0.5353 MB / 1.092 GB, free: 11.18 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.182e-05/0.7934, allocations: 115.2 kB / 1.092 GB, free: 11.09 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.727e-05/0.7935, allocations: 15 kB / 1.092 GB, free: 11.07 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.164e-05/0.7935, allocations: 331.3 kB / 1.092 GB, free: 10.76 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003411/0.7939, allocations: 188.7 kB / 1.093 GB, free: 10.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009907/0.7949, allocations: 1.145 MB / 1.094 GB, free: 9.602 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006726/0.7956, allocations: 474.3 kB / 1.094 GB, free: 9.363 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.808e-06/0.7956, allocations: 2.875 kB / 1.094 GB, free: 9.363 MB / 0.698 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001054/0.7966, allocations: 0.6614 MB / 1.095 GB, free: 9.109 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.518e-05/0.7967, allocations: 145.8 kB / 1.095 GB, free: 8.941 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.7967, allocations: 3.094 kB / 1.095 GB, free: 8.941 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.7968, allocations: 5.781 kB / 1.095 GB, free: 8.941 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001279/0.798, allocations: 245.4 kB / 1.095 GB, free: 8.914 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001027/0.7991, allocations: 2.959 MB / 1.098 GB, free: 5.938 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003091/0.8022, allocations: 0.7446 MB / 1.099 GB, free: 5.844 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.6e-05/0.8023, allocations: 31.16 kB / 1.099 GB, free: 5.836 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.8023, allocations: 3.188 kB / 1.099 GB, free: 5.836 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008893/0.8032, allocations: 0.5016 MB / 1.099 GB, free: 5.66 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.902e-06/0.8032, allocations: 3.188 kB / 1.099 GB, free: 5.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.777e-06/0.8032, allocations: 6.875 kB / 1.099 GB, free: 5.66 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006214/0.8039, allocations: 159.9 kB / 1.099 GB, free: 5.645 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.8039, allocations: 10.41 kB / 1.099 GB, free: 5.641 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002896/0.8068, allocations: 0.7367 MB / 1.1 GB, free: 5.555 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.166e-05/0.8068, allocations: 22.86 kB / 1.1 GB, free: 5.551 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.000516/0.8074, allocations: 329.7 kB / 1.101 GB, free: 5.297 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001507/0.8075, allocations: 99.56 kB / 1.101 GB, free: 5.242 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009611/0.8085, allocations: 0.5108 MB / 1.101 GB, free: 5.039 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.487e-06/0.8085, allocations: 3.125 kB / 1.101 GB, free: 5.039 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.8085, allocations: 7.203 kB / 1.101 GB, free: 5.039 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.371e-06/0.8085, allocations: 0 / 1.101 GB, free: 5.039 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001662/0.8102, allocations: 1.27 MB / 1.102 GB, free: 4.359 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.8102, allocations: 3.156 kB / 1.102 GB, free: 4.359 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005072/0.8107, allocations: 117.6 kB / 1.102 GB, free: 4.344 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.8108, allocations: 3.469 kB / 1.102 GB, free: 4.344 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.563e-05/0.8108, allocations: 13.92 kB / 1.102 GB, free: 4.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007613/0.8115, allocations: 2.947 MB / 1.105 GB, free: 1.367 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/0.8116, allocations: 4.922 kB / 1.105 GB, free: 1.363 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000687/0.8123, allocations: 0.579 MB / 1.106 GB, free: 1.027 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002993/0.8126, allocations: 225.8 kB / 1.106 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.459e-05/0.8127, allocations: 10.86 kB / 1.106 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004672/0.8131, allocations: 58.97 kB / 1.106 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.053e-05/0.8132, allocations: 30.44 kB / 1.106 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.988e-05/0.8133, allocations: 17.06 kB / 1.106 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006197/0.8139, allocations: 0.5874 MB / 1.107 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.11e-07/0.8139, allocations: 0 / 1.107 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001478/0.8154, allocations: 0.5328 MB / 1.107 GB, free: 472 kB / 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.0006311/0.816, allocations: 348.9 kB / 1.108 GB, free: 288 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002536/0.8186, allocations: 0.858 MB / 1.109 GB, free: 56 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.8186, allocations: 0 / 1.109 GB, free: 56 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005608/0.8191, allocations: 231 kB / 1.109 GB, free: 4 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0025/0.8217, allocations: 0.4901 MB / 1.109 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002784/0.8245, allocations: 1.854 MB / 1.111 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005667/0.825, allocations: 1.019 MB / 1.112 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001179/0.8262, allocations: 213.5 kB / 1.112 GB, free: 14 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002007/0.8264, allocations: 83.33 kB / 1.112 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of SimCode: time 4.91e-07/0.8264, allocations: 1.594 kB / 1.112 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of Templates: time 0.05395/0.8804, allocations: 24.61 MB / 1.136 GB, free: 9.707 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)