Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") translateModel(IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001395/0.001396, allocations: 102.2 kB / 15.98 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 199.1 kB / 16.91 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8045/0.8045, allocations: 122.9 MB / 413.6 MB, free: 0 / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 63.84 kB / 0.4906 GB, free: 7.785 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3504/0.3516, allocations: 77.93 MB / 0.5667 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1383/0.4899, allocations: 153 MB / 0.7161 GB, free: 1.602 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.04531/0.5353, allocations: 30.19 MB / 0.7456 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004881/0.5402, allocations: 131.1 kB / 0.7457 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003016/0.5433, allocations: 0.8663 MB / 0.7466 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.3647/0.908, allocations: 2.921 MB / 0.7494 GB, free: 38.96 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005947/0.914, allocations: 2.301 MB / 0.7517 GB, free: 38.95 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009137/0.9231, allocations: 5.396 MB / 0.7569 GB, free: 38.95 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004078/0.9272, allocations: 2.199 MB / 0.7591 GB, free: 38.75 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007636/0.9349, allocations: 2.706 MB / 0.7617 GB, free: 38.75 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005006/0.9399, allocations: 2.017 MB / 0.7637 GB, free: 38.65 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000942/0.9409, allocations: 213.9 kB / 0.7639 GB, free: 38.65 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004464/0.9454, allocations: 1.098 MB / 0.765 GB, free: 38.65 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007694/0.9462, allocations: 0.5574 MB / 0.7655 GB, free: 38.56 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002869/0.949, allocations: 1.271 MB / 0.7668 GB, free: 38.19 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005273/0.9543, allocations: 3.285 MB / 0.77 GB, free: 37.81 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.383e-06/0.9544, allocations: 1.094 kB / 0.77 GB, free: 37.81 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.736e-06/0.9544, allocations: 4 kB / 0.77 GB, free: 37.81 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.185e-05/0.9544, allocations: 0 / 0.77 GB, free: 37.81 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.006028/0.9605, allocations: 2.782 MB / 0.7727 GB, free: 36.48 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.9605, allocations: 8.938 kB / 0.7727 GB, free: 36.48 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005386/0.9611, allocations: 263.5 kB / 0.7729 GB, free: 36.35 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002049/0.9631, allocations: 1.452 MB / 0.7744 GB, free: 35.83 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.551e-05/0.9632, allocations: 108.4 kB / 0.7745 GB, free: 35.82 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001715/0.9634, allocations: 137.1 kB / 0.7746 GB, free: 35.82 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001849/0.9653, allocations: 1.16 MB / 0.7757 GB, free: 35.73 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.71e-05/0.9653, allocations: 4.781 kB / 0.7757 GB, free: 35.73 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001129/0.9654, allocations: 50.5 kB / 0.7758 GB, free: 35.73 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.879e-05/0.9654, allocations: 28.25 kB / 0.7758 GB, free: 35.73 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001536/0.967, allocations: 1.009 MB / 0.7768 GB, free: 35.72 MB / 0.5762 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.008351/0.9753, allocations: 6.312 MB / 0.783 GB, free: 33.04 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008785/0.9762, allocations: 0.5669 MB / 0.7835 GB, free: 33.02 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005266/0.9768, allocations: 387.2 kB / 0.7839 GB, free: 33 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003429/0.9771, allocations: 0.5057 MB / 0.7844 GB, free: 32.44 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.9772, allocations: 40.03 kB / 0.7844 GB, free: 32.4 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001772/0.9789, allocations: 308 kB / 0.7847 GB, free: 32.34 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=58): time 3.927e-06/0.979, allocations: 2.156 kB / 0.7847 GB, free: 32.34 MB / 0.5762 GB Notification: Performance of matching and sorting (n=58): time 0.001916/0.9809, allocations: 1.167 MB / 0.7858 GB, free: 32.18 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.332e-05/0.9809, allocations: 57.66 kB / 0.7859 GB, free: 32.11 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002185/0.9831, allocations: 1.902 MB / 0.7878 GB, free: 31.88 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.000107/0.9832, allocations: 45.11 kB / 0.7878 GB, free: 31.84 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005477/0.9838, allocations: 0.918 MB / 0.7887 GB, free: 31.58 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001315/0.9839, allocations: 206.5 kB / 0.7889 GB, free: 31.45 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004188/0.9843, allocations: 289.8 kB / 0.7892 GB, free: 31.43 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.341e-05/0.9844, allocations: 348.5 kB / 0.7895 GB, free: 31.12 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007734/0.9852, allocations: 462.9 kB / 0.7899 GB, free: 31.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009521/0.9862, allocations: 0.6812 MB / 0.7906 GB, free: 30.89 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001412/0.9876, allocations: 0.9742 MB / 0.7916 GB, free: 30.75 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/0.9876, allocations: 3.344 kB / 0.7916 GB, free: 30.75 MB / 0.5762 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00232/0.9899, allocations: 1.412 MB / 0.7929 GB, free: 30.59 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.99, allocations: 5.844 kB / 0.793 GB, free: 30.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.99, allocations: 2.5 kB / 0.793 GB, free: 30.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.99, allocations: 8.375 kB / 0.793 GB, free: 30.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001196/0.9912, allocations: 282.2 kB / 0.7932 GB, free: 30.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.746e-05/0.9912, allocations: 8.969 kB / 0.7932 GB, free: 30.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001817/0.9931, allocations: 147.2 kB / 0.7934 GB, free: 30.56 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001092/0.9932, allocations: 68.34 kB / 0.7934 GB, free: 30.56 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001155/0.9943, allocations: 0.7045 MB / 0.7941 GB, free: 30.48 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007871/0.9951, allocations: 0.6551 MB / 0.7948 GB, free: 30.26 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001212/0.9964, allocations: 0.9216 MB / 0.7957 GB, free: 30.12 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.917e-06/0.9964, allocations: 5.844 kB / 0.7957 GB, free: 30.12 MB / 0.5762 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002097/0.9985, allocations: 1.35 MB / 0.797 GB, free: 29.95 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.9985, allocations: 5.469 kB / 0.797 GB, free: 29.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.9985, allocations: 4.875 kB / 0.797 GB, free: 29.95 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.9985, allocations: 8.734 kB / 0.797 GB, free: 29.95 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/0.9997, allocations: 274.1 kB / 0.7973 GB, free: 29.95 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.9997, allocations: 12.38 kB / 0.7973 GB, free: 29.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001851/1.002, allocations: 147.7 kB / 0.7974 GB, free: 29.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.543e-05/1.002, allocations: 57.36 kB / 0.7975 GB, free: 29.93 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (144): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002724/1.002, allocations: 246.6 kB / 0.7977 GB, free: 29.73 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002418/1.002, allocations: 198.6 kB / 0.7979 GB, free: 29.63 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001992/1.004, allocations: 1.095 MB / 0.799 GB, free: 29.54 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-05/1.004, allocations: 8.969 kB / 0.799 GB, free: 29.54 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/1.004, allocations: 0 / 0.799 GB, free: 29.54 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/1.004, allocations: 4.969 kB / 0.799 GB, free: 29.54 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003384/1.008, allocations: 2.445 MB / 0.8014 GB, free: 29.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/1.008, allocations: 2.844 kB / 0.8014 GB, free: 29.14 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005666/1.008, allocations: 135.2 kB / 0.8015 GB, free: 29.14 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/1.008, allocations: 3.375 kB / 0.8015 GB, free: 29.14 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.394e-05/1.008, allocations: 18.72 kB / 0.8015 GB, free: 29.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/1.008, allocations: 7.312 kB / 0.8015 GB, free: 29.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/1.008, allocations: 15.8 kB / 0.8016 GB, free: 29.12 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/1.01, allocations: 1.068 MB / 0.8026 GB, free: 28.82 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005851/1.01, allocations: 359.7 kB / 0.8029 GB, free: 28.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002262/1.01, allocations: 12.91 kB / 0.803 GB, free: 28.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009137/1.011, allocations: 102.5 kB / 0.803 GB, free: 28.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/1.011, allocations: 52.11 kB / 0.8031 GB, free: 28.59 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.857e-05/1.011, allocations: 27.64 kB / 0.8031 GB, free: 28.59 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001432/1.013, allocations: 1.254 MB / 0.8044 GB, free: 28.25 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.01e-07/1.013, allocations: 3.938 kB / 0.8044 GB, free: 28.24 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002449/1.015, allocations: 0.8876 MB / 0.8052 GB, free: 28.13 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006905/1.016, allocations: 344.8 kB / 0.8055 GB, free: 27.97 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002926/1.019, allocations: 1.663 MB / 0.8072 GB, free: 27.75 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/1.019, allocations: 0 / 0.8072 GB, free: 27.75 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005245/1.02, allocations: 419.8 kB / 0.8076 GB, free: 27.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004204/1.024, allocations: 1.078 MB / 0.8086 GB, free: 27.21 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004243/1.028, allocations: 3.719 MB / 0.8123 GB, free: 23.71 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006421/1.029, allocations: 1.403 MB / 0.8136 GB, free: 22.28 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001922/1.031, allocations: 417.1 kB / 0.814 GB, free: 21.88 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003893/1.031, allocations: 161.5 kB / 0.8142 GB, free: 21.73 MB / 0.5762 GB Notification: Performance of SimCode: time 9.51e-07/1.031, allocations: 0 / 0.8142 GB, free: 21.73 MB / 0.5762 GB Notification: Performance of Templates: time 0.07462/1.106, allocations: 38.1 MB / 0.8514 GB, free: 484 kB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)