Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.conf.json 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/IBPSA 3.0.0-master/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 IBPSA with version 3.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 183.4 kB / 16.08 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4363/0.4363, allocations: 89.07 MB / 105.9 MB, free: 12.45 MB / 90.72 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.252/1.252, allocations: 225.7 MB / 353.2 MB, free: 1.094 MB / 282.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.0007996/0.0007996, allocations: 90.16 kB / 425.4 MB, free: 6.652 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003202/0.0003203, allocations: 12 kB / 0.4955 GB, free: 4.535 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2997/0.3001, allocations: 71.34 MB / 0.5652 GB, free: 42.35 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01328/0.3134, allocations: 19.01 MB / 0.5838 GB, free: 23.04 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006225/0.3197, allocations: 7.16 MB / 0.5908 GB, free: 15.33 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007785/0.3205, allocations: 15.88 kB / 0.5908 GB, free: 15.31 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006783/0.3212, allocations: 210.7 kB / 0.591 GB, free: 15.11 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001741/0.3229, allocations: 0.7074 MB / 0.5917 GB, free: 14.39 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001884/0.3248, allocations: 0.8032 MB / 0.5924 GB, free: 13.59 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001917/0.3268, allocations: 1.939 MB / 0.5943 GB, free: 11.64 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006741/0.3275, allocations: 444.7 kB / 0.5948 GB, free: 11.2 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009409/0.3284, allocations: 0.5717 MB / 0.5953 GB, free: 10.62 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005183/0.3289, allocations: 0.5134 MB / 0.5958 GB, free: 10.11 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.642e-05/0.329, allocations: 28 kB / 0.5959 GB, free: 10.08 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001052/0.3301, allocations: 0.6354 MB / 0.5965 GB, free: 9.441 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.3302, allocations: 135.3 kB / 0.5966 GB, free: 9.309 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002722/0.3305, allocations: 371.7 kB / 0.597 GB, free: 8.938 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001011/0.3315, allocations: 1.049 MB / 0.598 GB, free: 7.887 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.3315, allocations: 0 / 0.598 GB, free: 7.887 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3315, allocations: 0 / 0.598 GB, free: 7.887 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.3316, allocations: 0 / 0.598 GB, free: 7.887 MB / 410.7 MB 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.001451/0.333, allocations: 0.9891 MB / 0.5989 GB, free: 6.848 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.3331, allocations: 8.031 kB / 0.599 GB, free: 6.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001053/0.3332, allocations: 91.83 kB / 0.599 GB, free: 6.75 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005404/0.3337, allocations: 0.4915 MB / 0.5995 GB, free: 6.219 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.671e-05/0.3337, allocations: 37 kB / 0.5996 GB, free: 6.18 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.563e-05/0.3338, allocations: 48 kB / 0.5996 GB, free: 6.133 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008615/0.3347, allocations: 0.635 MB / 0.6002 GB, free: 5.438 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.3347, allocations: 7.922 kB / 0.6002 GB, free: 5.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.951e-05/0.3348, allocations: 24 kB / 0.6003 GB, free: 5.406 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.988e-06/0.3348, allocations: 12 kB / 0.6003 GB, free: 5.395 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000877/0.3357, allocations: 0.5112 MB / 0.6008 GB, free: 4.883 MB / 410.7 MB 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.002497/0.3382, allocations: 3.201 MB / 0.6039 GB, free: 1.488 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000574/0.3388, allocations: 366.5 kB / 0.6042 GB, free: 1.121 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003978/0.3392, allocations: 244.7 kB / 0.6045 GB, free: 0.8789 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002573/0.3394, allocations: 340.4 kB / 0.6048 GB, free: 484 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.3395, allocations: 42.58 kB / 0.6048 GB, free: 432 kB / 410.7 MB Notification: Performance of pre-optimization done (n=38): time 2.645e-06/0.3395, allocations: 0 / 0.6048 GB, free: 432 kB / 410.7 MB Notification: Performance of matching and sorting (n=38): time 0.002036/0.3415, allocations: 0.8628 MB / 0.6057 GB, free: 15.53 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/0.3416, allocations: 55.41 kB / 0.6057 GB, free: 15.46 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007014/0.3423, allocations: 0.5784 MB / 0.6063 GB, free: 14.88 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.748e-05/0.3424, allocations: 37.7 kB / 0.6063 GB, free: 14.84 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002203/0.3426, allocations: 328.4 kB / 0.6066 GB, free: 14.51 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.3427, allocations: 138.1 kB / 0.6068 GB, free: 14.38 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.613e-05/0.3427, allocations: 11.94 kB / 0.6068 GB, free: 14.36 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.3429, allocations: 374.8 kB / 0.6071 GB, free: 13.99 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004885/0.3434, allocations: 229.1 kB / 0.6074 GB, free: 13.77 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005778/0.344, allocations: 372 kB / 0.6077 GB, free: 13.34 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001049/0.345, allocations: 0.6017 MB / 0.6083 GB, free: 12.68 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.345, allocations: 0 / 0.6083 GB, free: 12.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001519/0.3466, allocations: 0.7418 MB / 0.609 GB, free: 11.92 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001416/0.3467, allocations: 227.6 kB / 0.6093 GB, free: 11.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.3467, allocations: 4 kB / 0.6093 GB, free: 11.63 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006124/0.3474, allocations: 152.8 kB / 0.6094 GB, free: 11.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005415/0.3479, allocations: 147.8 kB / 0.6095 GB, free: 11.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005836/0.3485, allocations: 0.6264 MB / 0.6102 GB, free: 10.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006276/0.3491, allocations: 99.39 kB / 0.6102 GB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.38e-05/0.3492, allocations: 35.98 kB / 0.6103 GB, free: 10.55 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.3492, allocations: 4 kB / 0.6103 GB, free: 10.55 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001234/0.3505, allocations: 0.6189 MB / 0.6109 GB, free: 9.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.3505, allocations: 4 kB / 0.6109 GB, free: 9.926 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.726e-06/0.3505, allocations: 8 kB / 0.6109 GB, free: 9.918 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006022/0.3511, allocations: 160.3 kB / 0.6111 GB, free: 9.762 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/0.3512, allocations: 15.92 kB / 0.6111 GB, free: 9.746 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005849/0.3517, allocations: 91.48 kB / 0.6112 GB, free: 9.656 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-05/0.3518, allocations: 31.98 kB / 0.6112 GB, free: 9.625 MB / 426.7 MB 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.0003089/0.3521, allocations: 271.5 kB / 0.6114 GB, free: 9.352 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/0.3522, allocations: 63.16 kB / 0.6115 GB, free: 9.289 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001466/0.3537, allocations: 0.6862 MB / 0.6122 GB, free: 8.59 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.284e-05/0.3537, allocations: 4 kB / 0.6122 GB, free: 8.586 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.3537, allocations: 0 / 0.6122 GB, free: 8.586 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.646e-05/0.3538, allocations: 7.984 kB / 0.6122 GB, free: 8.578 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002392/0.3562, allocations: 1.402 MB / 0.6136 GB, free: 7.102 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/0.3562, allocations: 3.984 kB / 0.6136 GB, free: 7.098 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003799/0.3566, allocations: 91.98 kB / 0.6136 GB, free: 7.008 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003843/0.357, allocations: 132.7 kB / 0.6138 GB, free: 6.875 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.084e-05/0.357, allocations: 15.94 kB / 0.6138 GB, free: 6.859 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005751/0.3576, allocations: 0.6304 MB / 0.6144 GB, free: 6.203 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.3576, allocations: 12.03 kB / 0.6144 GB, free: 6.191 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001278/0.3589, allocations: 0.7202 MB / 0.6151 GB, free: 5.445 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002696/0.3592, allocations: 208 kB / 0.6153 GB, free: 5.223 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.444e-05/0.3593, allocations: 8 kB / 0.6153 GB, free: 5.215 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004376/0.3597, allocations: 56.02 kB / 0.6154 GB, free: 5.16 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.25e-05/0.3598, allocations: 27.95 kB / 0.6154 GB, free: 5.133 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-05/0.3599, allocations: 19.98 kB / 0.6154 GB, free: 5.113 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00052/0.3604, allocations: 399.1 kB / 0.6158 GB, free: 4.73 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3604, allocations: 0 / 0.6158 GB, free: 4.73 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001147/0.3616, allocations: 395.3 kB / 0.6162 GB, free: 4.344 MB / 426.7 MB 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.0006894/0.3623, allocations: 310.4 kB / 0.6165 GB, free: 4.039 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001972/0.3643, allocations: 0.9019 MB / 0.6174 GB, free: 3.137 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.3643, allocations: 0 / 0.6174 GB, free: 3.137 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006772/0.365, allocations: 308.1 kB / 0.6177 GB, free: 2.836 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001465/0.3664, allocations: 272.3 kB / 0.6179 GB, free: 2.57 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001848/0.3683, allocations: 1.328 MB / 0.6192 GB, free: 1.203 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004592/0.3688, allocations: 0.9158 MB / 0.6201 GB, free: 268 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000581/0.3694, allocations: 161 kB / 0.6203 GB, free: 108 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001503/0.3695, allocations: 63.42 kB / 0.6203 GB, free: 44 kB / 426.7 MB Notification: Performance of SimCode: time 3.1e-07/0.3695, allocations: 0 / 0.6203 GB, free: 44 kB / 426.7 MB Notification: Performance of Templates: time 0.02208/0.3916, allocations: 12.21 MB / 0.6322 GB, free: 3.949 MB / 442.7 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)