Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.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.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") translateModel(IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009496/0.0009497, allocations: 182.3 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.4518/0.4518, 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.368/1.368, allocations: 225.7 MB / 353.2 MB, free: 1.066 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.0008082/0.0008082, allocations: 99.27 kB / 425.4 MB, free: 6.656 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002949/0.000295, allocations: 8 kB / 0.4955 GB, free: 4.543 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2923, allocations: 71.33 MB / 0.5652 GB, free: 42.37 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.01945/0.3118, allocations: 30.46 MB / 0.5949 GB, free: 11.38 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01048/0.3223, allocations: 13.47 MB / 0.6081 GB, free: 13.12 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001026/0.3234, allocations: 23.81 kB / 0.6081 GB, free: 13.1 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009409/0.3244, allocations: 314.2 kB / 0.6084 GB, free: 12.79 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002691/0.3271, allocations: 1.053 MB / 0.6094 GB, free: 11.73 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002056/0.3291, allocations: 0.7681 MB / 0.6102 GB, free: 10.96 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002974/0.3321, allocations: 2.822 MB / 0.613 GB, free: 8.133 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008783/0.333, allocations: 0.5613 MB / 0.6135 GB, free: 7.562 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001829/0.3349, allocations: 0.9217 MB / 0.6144 GB, free: 6.637 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009359/0.3358, allocations: 0.6573 MB / 0.615 GB, free: 5.977 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 9.363e-05/0.3359, allocations: 39.94 kB / 0.6151 GB, free: 5.938 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001114/0.337, allocations: 0.5496 MB / 0.6156 GB, free: 5.387 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000156/0.3372, allocations: 131.3 kB / 0.6157 GB, free: 5.258 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004239/0.3376, allocations: 431.3 kB / 0.6162 GB, free: 4.828 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001181/0.3388, allocations: 1.041 MB / 0.6172 GB, free: 3.785 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.3388, allocations: 4 kB / 0.6172 GB, free: 3.781 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3388, allocations: 0 / 0.6172 GB, free: 3.781 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.3389, allocations: 0 / 0.6172 GB, free: 3.781 MB / 426.7 MB 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.001539/0.3404, allocations: 1.016 MB / 0.6182 GB, free: 2.711 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.3405, allocations: 8.031 kB / 0.6182 GB, free: 2.703 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000128/0.3406, allocations: 103.8 kB / 0.6183 GB, free: 2.602 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000756/0.3413, allocations: 0.5656 MB / 0.6188 GB, free: 1.996 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.397e-05/0.3414, allocations: 41 kB / 0.6189 GB, free: 1.957 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.478e-05/0.3415, allocations: 52 kB / 0.6189 GB, free: 1.906 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007001/0.3422, allocations: 414.4 kB / 0.6193 GB, free: 1.496 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.3422, allocations: 3.984 kB / 0.6193 GB, free: 1.492 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.294e-05/0.3422, allocations: 20 kB / 0.6193 GB, free: 1.473 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/0.3423, allocations: 16 kB / 0.6193 GB, free: 1.457 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005855/0.3429, allocations: 307.8 kB / 0.6196 GB, free: 1.156 MB / 426.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.00257/0.3454, allocations: 1.858 MB / 0.6215 GB, free: 15.15 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003405/0.3458, allocations: 180.2 kB / 0.6216 GB, free: 14.96 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001722/0.346, allocations: 80.81 kB / 0.6217 GB, free: 14.88 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002537/0.3462, allocations: 340.4 kB / 0.622 GB, free: 14.48 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.3463, allocations: 34.56 kB / 0.6221 GB, free: 14.43 MB / 442.7 MB Notification: Performance of pre-optimization done (n=19): time 1.643e-06/0.3463, allocations: 4 kB / 0.6221 GB, free: 14.43 MB / 442.7 MB Notification: Performance of matching and sorting (n=19): time 0.0006758/0.347, allocations: 318.2 kB / 0.6224 GB, free: 14.11 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.939e-05/0.347, allocations: 55.41 kB / 0.6224 GB, free: 14.05 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007276/0.3477, allocations: 0.6804 MB / 0.6231 GB, free: 13.36 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.081e-05/0.3478, allocations: 33.7 kB / 0.6231 GB, free: 13.32 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002516/0.348, allocations: 364.7 kB / 0.6235 GB, free: 12.96 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.813e-05/0.3481, allocations: 67 kB / 0.6235 GB, free: 12.89 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.774e-05/0.3481, allocations: 12 kB / 0.6235 GB, free: 12.88 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.3483, allocations: 378.7 kB / 0.6239 GB, free: 12.5 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002357/0.3485, allocations: 112.7 kB / 0.624 GB, free: 12.39 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003027/0.3488, allocations: 183.5 kB / 0.6242 GB, free: 12.19 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004409/0.3493, allocations: 253 kB / 0.6244 GB, free: 11.93 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.3493, allocations: 3.938 kB / 0.6244 GB, free: 11.93 MB / 442.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000674/0.35, allocations: 402.2 kB / 0.6248 GB, free: 11.53 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.102e-05/0.35, allocations: 107 kB / 0.6249 GB, free: 11.41 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.35, allocations: 0 / 0.6249 GB, free: 11.41 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.3501, allocations: 4 kB / 0.6249 GB, free: 11.41 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009726/0.351, allocations: 167.9 kB / 0.6251 GB, free: 11.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00123/0.3523, allocations: 2.363 MB / 0.6274 GB, free: 8.789 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005777/0.3529, allocations: 87.78 kB / 0.6275 GB, free: 8.703 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.864e-05/0.3529, allocations: 15.98 kB / 0.6275 GB, free: 8.688 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.933e-06/0.3529, allocations: 4 kB / 0.6275 GB, free: 8.684 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005485/0.3535, allocations: 303.6 kB / 0.6278 GB, free: 8.387 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.364e-06/0.3535, allocations: 0 / 0.6278 GB, free: 8.387 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.338e-06/0.3535, allocations: 4 kB / 0.6278 GB, free: 8.383 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004044/0.3539, allocations: 95.88 kB / 0.6279 GB, free: 8.289 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.3539, allocations: 8 kB / 0.6279 GB, free: 8.281 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004451/0.3544, allocations: 83.56 kB / 0.628 GB, free: 8.199 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.006e-05/0.3544, allocations: 15.98 kB / 0.628 GB, free: 8.184 MB / 442.7 MB 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.0002675/0.3547, allocations: 265 kB / 0.6282 GB, free: 7.914 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.135e-05/0.3548, allocations: 71.06 kB / 0.6283 GB, free: 7.844 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006298/0.3554, allocations: 322 kB / 0.6286 GB, free: 7.52 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/0.3555, allocations: 4 kB / 0.6286 GB, free: 7.516 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.3555, allocations: 0 / 0.6286 GB, free: 7.516 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.3555, allocations: 7.984 kB / 0.6286 GB, free: 7.508 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001241/0.3567, allocations: 0.8956 MB / 0.6295 GB, free: 6.543 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.3567, allocations: 4 kB / 0.6295 GB, free: 6.539 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003329/0.3571, allocations: 75.89 kB / 0.6296 GB, free: 6.465 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.3571, allocations: 4 kB / 0.6296 GB, free: 6.461 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.3571, allocations: 4 kB / 0.6296 GB, free: 6.457 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001169/0.3583, allocations: 2.356 MB / 0.6319 GB, free: 4.008 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3583, allocations: 4.281 kB / 0.6319 GB, free: 4.004 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005656/0.3589, allocations: 410 kB / 0.6323 GB, free: 3.574 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002158/0.3591, allocations: 176.1 kB / 0.6324 GB, free: 3.383 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.385e-05/0.3592, allocations: 7.984 kB / 0.6324 GB, free: 3.375 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003737/0.3596, allocations: 47.86 kB / 0.6325 GB, free: 3.328 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.193e-05/0.3597, allocations: 15.98 kB / 0.6325 GB, free: 3.312 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-05/0.3597, allocations: 15.92 kB / 0.6325 GB, free: 3.297 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005235/0.3602, allocations: 467 kB / 0.633 GB, free: 2.844 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3602, allocations: 4 kB / 0.633 GB, free: 2.84 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007956/0.361, allocations: 351.1 kB / 0.6333 GB, free: 2.496 MB / 442.7 MB 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.0005074/0.3615, allocations: 250 kB / 0.6335 GB, free: 2.254 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001574/0.3631, allocations: 0.5043 MB / 0.634 GB, free: 1.75 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.3631, allocations: 0 / 0.634 GB, free: 1.75 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003732/0.3635, allocations: 147.9 kB / 0.6342 GB, free: 1.605 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001949/0.3655, allocations: 375.6 kB / 0.6345 GB, free: 1.242 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001932/0.3674, allocations: 1.388 MB / 0.6359 GB, free: 15.82 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000474/0.3679, allocations: 0.941 MB / 0.6368 GB, free: 14.85 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004773/0.3684, allocations: 113.2 kB / 0.6369 GB, free: 14.74 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.993e-05/0.3685, allocations: 51.44 kB / 0.637 GB, free: 14.69 MB / 458.7 MB Notification: Performance of SimCode: time 7.02e-07/0.3685, allocations: 0 / 0.637 GB, free: 14.69 MB / 458.7 MB Notification: Performance of Templates: time 0.02038/0.3889, allocations: 12.34 MB / 0.649 GB, free: 2.492 MB / 458.7 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)