Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.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.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") translateModel(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.766/1.766, allocations: 306.1 MB / 321.4 MB, free: 10.7 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.001044/0.001044, allocations: 172 kB / 393.1 MB, free: 4.051 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.547/1.547, allocations: 225.7 MB / 0.6743 GB, free: 12.58 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.0008268/0.0008269, allocations: 92.78 kB / 0.7935 GB, free: 40.18 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003564/0.0003566, allocations: 9.094 kB / 0.9224 GB, free: 8.641 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6435/0.6439, allocations: 121.3 MB / 1.041 GB, free: 59.2 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.02588/0.6699, allocations: 30.47 MB / 1.071 GB, free: 36.64 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01309/0.683, allocations: 13.46 MB / 1.084 GB, free: 25.51 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001381/0.6844, allocations: 24.28 kB / 1.084 GB, free: 25.5 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001064/0.6855, allocations: 303.5 kB / 1.084 GB, free: 25.33 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.002968/0.6885, allocations: 1.068 MB / 1.085 GB, free: 24.71 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002192/0.6907, allocations: 0.7677 MB / 1.086 GB, free: 24.31 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002815/0.6935, allocations: 2.83 MB / 1.089 GB, free: 23.29 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008608/0.6944, allocations: 0.5551 MB / 1.089 GB, free: 23.08 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001791/0.6962, allocations: 0.9175 MB / 1.09 GB, free: 22.68 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008708/0.6971, allocations: 0.6656 MB / 1.091 GB, free: 22.41 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 7.424e-05/0.6972, allocations: 29.31 kB / 1.091 GB, free: 22.41 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001173/0.6983, allocations: 0.5555 MB / 1.091 GB, free: 22.24 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001407/0.6985, allocations: 138 kB / 1.091 GB, free: 22.16 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003597/0.6989, allocations: 426.1 kB / 1.092 GB, free: 21.91 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001061/0.6999, allocations: 1.044 MB / 1.093 GB, free: 21.56 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.6999, allocations: 4 kB / 1.093 GB, free: 21.55 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7, allocations: 0 / 1.093 GB, free: 21.55 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.708e-06/0.7, allocations: 0 / 1.093 GB, free: 21.55 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: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001414/0.7014, allocations: 1.021 MB / 1.094 GB, free: 20.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.7014, allocations: 8.844 kB / 1.094 GB, free: 20.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001216/0.7016, allocations: 98.41 kB / 1.094 GB, free: 20.76 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006518/0.7022, allocations: 0.5546 MB / 1.095 GB, free: 20.37 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.924e-05/0.7023, allocations: 41.5 kB / 1.095 GB, free: 20.35 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.978e-05/0.7023, allocations: 51.44 kB / 1.095 GB, free: 20.34 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006724/0.703, allocations: 422.2 kB / 1.095 GB, free: 20.16 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.703, allocations: 3.938 kB / 1.095 GB, free: 20.16 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.103e-05/0.7031, allocations: 15.03 kB / 1.095 GB, free: 20.15 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.7031, allocations: 12.25 kB / 1.095 GB, free: 20.15 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005908/0.7037, allocations: 312.1 kB / 1.095 GB, free: 20.05 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.002382/0.7061, allocations: 1.86 MB / 1.097 GB, free: 18.82 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003442/0.7064, allocations: 175.7 kB / 1.097 GB, free: 18.75 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001811/0.7066, allocations: 92.23 kB / 1.097 GB, free: 18.71 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000224/0.7069, allocations: 339.1 kB / 1.098 GB, free: 18.33 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.7069, allocations: 32.59 kB / 1.098 GB, free: 18.29 MB / 0.698 GB Notification: Performance of pre-optimization done (n=19): time 1.873e-06/0.7069, allocations: 0 / 1.098 GB, free: 18.29 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.0007063/0.7076, allocations: 322.5 kB / 1.098 GB, free: 18.16 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.03e-05/0.7077, allocations: 54.03 kB / 1.098 GB, free: 18.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007228/0.7084, allocations: 0.6721 MB / 1.099 GB, free: 17.81 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.7084, allocations: 32.77 kB / 1.099 GB, free: 17.77 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002077/0.7086, allocations: 370.1 kB / 1.099 GB, free: 17.48 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.015e-05/0.7087, allocations: 63.12 kB / 1.099 GB, free: 17.43 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.651e-05/0.7087, allocations: 9.25 kB / 1.099 GB, free: 17.43 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.522e-05/0.7088, allocations: 385.8 kB / 1.1 GB, free: 17.08 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002407/0.709, allocations: 110.5 kB / 1.1 GB, free: 17.05 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002795/0.7093, allocations: 186.5 kB / 1.1 GB, free: 16.94 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004321/0.7098, allocations: 244.8 kB / 1.1 GB, free: 16.84 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.7098, allocations: 0 / 1.1 GB, free: 16.84 MB / 0.698 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006658/0.7105, allocations: 408.1 kB / 1.1 GB, free: 16.67 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.412e-05/0.7105, allocations: 108.5 kB / 1.101 GB, free: 16.56 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.7105, allocations: 5.188 kB / 1.101 GB, free: 16.55 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.7106, allocations: 2.656 kB / 1.101 GB, free: 16.55 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001001/0.7116, allocations: 156.6 kB / 1.101 GB, free: 16.54 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007976/0.7124, allocations: 2.369 MB / 1.103 GB, free: 14.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005709/0.713, allocations: 92.84 kB / 1.103 GB, free: 14.12 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.039e-05/0.713, allocations: 14.67 kB / 1.103 GB, free: 14.12 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.225e-06/0.713, allocations: 7.688 kB / 1.103 GB, free: 14.11 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005489/0.7136, allocations: 295.9 kB / 1.103 GB, free: 14.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.534e-06/0.7136, allocations: 4 kB / 1.103 GB, free: 14.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.127e-06/0.7136, allocations: 2.594 kB / 1.103 GB, free: 14.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004388/0.714, allocations: 102 kB / 1.104 GB, free: 14.01 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.359e-06/0.7141, allocations: 2.344 kB / 1.104 GB, free: 14.01 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004591/0.7145, allocations: 84.2 kB / 1.104 GB, free: 13.98 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.76e-05/0.7146, allocations: 14.84 kB / 1.104 GB, free: 13.97 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002382/0.7148, allocations: 270.5 kB / 1.104 GB, free: 13.74 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.057e-05/0.7149, allocations: 70.19 kB / 1.104 GB, free: 13.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006128/0.7155, allocations: 316.5 kB / 1.104 GB, free: 13.57 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/0.7155, allocations: 3 kB / 1.104 GB, free: 13.57 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.7155, allocations: 0 / 1.104 GB, free: 13.57 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.7155, allocations: 4.734 kB / 1.104 GB, free: 13.57 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00115/0.7167, allocations: 0.9083 MB / 1.105 GB, free: 13.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.7167, allocations: 3.047 kB / 1.105 GB, free: 13.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003202/0.717, allocations: 75.77 kB / 1.105 GB, free: 13.01 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.7171, allocations: 2.375 kB / 1.105 GB, free: 13.01 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.7171, allocations: 11.34 kB / 1.105 GB, free: 13 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006007/0.7177, allocations: 2.355 MB / 1.108 GB, free: 10.62 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.7177, allocations: 5.312 kB / 1.108 GB, free: 10.62 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005148/0.7183, allocations: 407.6 kB / 1.108 GB, free: 10.36 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001653/0.7184, allocations: 173.9 kB / 1.108 GB, free: 10.21 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.509e-05/0.7185, allocations: 13.58 kB / 1.108 GB, free: 10.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003801/0.7189, allocations: 52.42 kB / 1.108 GB, free: 10.19 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.302e-05/0.719, allocations: 22.84 kB / 1.108 GB, free: 10.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/0.719, allocations: 6.969 kB / 1.108 GB, free: 10.18 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005134/0.7195, allocations: 471.5 kB / 1.109 GB, free: 9.98 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7195, allocations: 0 / 1.109 GB, free: 9.98 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008794/0.7204, allocations: 342.3 kB / 1.109 GB, free: 9.918 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 (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004775/0.7209, allocations: 258.1 kB / 1.109 GB, free: 9.777 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001517/0.7224, allocations: 0.5041 MB / 1.11 GB, free: 9.652 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.7224, allocations: 0 / 1.11 GB, free: 9.652 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003784/0.7228, allocations: 148.7 kB / 1.11 GB, free: 9.617 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001827/0.7247, allocations: 374.6 kB / 1.11 GB, free: 9.535 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001812/0.7265, allocations: 1.399 MB / 1.112 GB, free: 8.648 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.7268, allocations: 0.9268 MB / 1.113 GB, free: 7.934 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005059/0.7274, allocations: 117.6 kB / 1.113 GB, free: 7.906 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.7275, allocations: 52.53 kB / 1.113 GB, free: 7.895 MB / 0.698 GB Notification: Performance of SimCode: time 4.61e-07/0.7275, allocations: 0 / 1.113 GB, free: 7.895 MB / 0.698 GB Notification: Performance of Templates: time 0.02706/0.7546, allocations: 12.35 MB / 1.125 GB, free: 6.887 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile (rm -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)