Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009073/0.0009073, allocations: 79.69 kB / 21.74 MB, free: 2.52 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008852/0.0008852, allocations: 171.2 kB / 25.18 MB, free: 8.828 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9324/0.9324, allocations: 177.2 MB / 205.6 MB, free: 4.371 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.939/1.939, allocations: 389.6 MB / 0.6364 GB, free: 13.25 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") translateModel(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.7756 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.215e-05/2.379e-05, allocations: 2.312 kB / 0.7756 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.01307/0.01309, allocations: 9.71 MB / 0.7851 GB, free: 4.77 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.007103/0.02019, allocations: 3.357 MB / 0.7883 GB, free: 1.402 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008656/0.02106, allocations: 43.62 kB / 0.7884 GB, free: 1.359 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000578/0.02164, allocations: 210.2 kB / 0.7886 GB, free: 1.152 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001454/0.02309, allocations: 0.7259 MB / 0.7893 GB, free: 432 kB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001563/0.02465, allocations: 0.8337 MB / 0.7901 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.002035/0.02669, allocations: 1.936 MB / 0.792 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007872/0.02748, allocations: 0.5258 MB / 0.7925 GB, free: 13.1 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001283/0.02876, allocations: 0.9506 MB / 0.7934 GB, free: 12.15 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007063/0.02947, allocations: 0.5297 MB / 0.794 GB, free: 11.62 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.000103/0.02957, allocations: 52 kB / 0.794 GB, free: 11.57 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007259/0.0303, allocations: 427.1 kB / 0.7944 GB, free: 11.15 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0001494/0.03044, allocations: 179.1 kB / 0.7946 GB, free: 10.97 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0002505/0.03069, allocations: 287.2 kB / 0.7949 GB, free: 10.69 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.000887/0.03158, allocations: 0.7667 MB / 0.7956 GB, free: 9.922 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.03159, allocations: 0 / 0.7956 GB, free: 9.922 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.052e-06/0.03159, allocations: 4 kB / 0.7956 GB, free: 9.918 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.421e-05/0.0316, allocations: 4 kB / 0.7956 GB, free: 9.914 MB / 0.7605 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.001189/0.03279, allocations: 1.031 MB / 0.7966 GB, free: 8.852 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.014e-05/0.03282, allocations: 8.031 kB / 0.7966 GB, free: 8.844 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001168/0.03294, allocations: 104.8 kB / 0.7967 GB, free: 8.742 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005346/0.03347, allocations: 465.9 kB / 0.7972 GB, free: 8.258 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.491e-05/0.03351, allocations: 45.12 kB / 0.7972 GB, free: 8.215 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.776e-05/0.03356, allocations: 56 kB / 0.7973 GB, free: 8.16 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003355/0.03389, allocations: 290 kB / 0.7975 GB, free: 7.867 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.0339, allocations: 3.984 kB / 0.7975 GB, free: 7.863 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.229e-05/0.03392, allocations: 16 kB / 0.7976 GB, free: 7.848 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.928e-06/0.03393, allocations: 12 kB / 0.7976 GB, free: 7.836 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001243/0.03406, allocations: 98.88 kB / 0.7977 GB, free: 7.738 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001324/0.03538, allocations: 0.867 MB / 0.7985 GB, free: 6.855 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001472/0.03553, allocations: 137.2 kB / 0.7986 GB, free: 6.711 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.057e-05/0.03557, allocations: 39.61 kB / 0.7987 GB, free: 6.668 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 9.218e-05/0.03566, allocations: 19.98 kB / 0.7987 GB, free: 6.648 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.03568, allocations: 34.56 kB / 0.7987 GB, free: 6.605 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=19): time 1.884e-06/0.03569, allocations: 0 / 0.7987 GB, free: 6.605 MB / 0.7605 GB Notification: Performance of matching and sorting (n=19): time 0.0002196/0.03591, allocations: 133 kB / 0.7989 GB, free: 6.473 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/0.03594, allocations: 55.41 kB / 0.7989 GB, free: 6.406 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003179/0.03625, allocations: 0.5193 MB / 0.7994 GB, free: 5.875 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.03628, allocations: 33.7 kB / 0.7995 GB, free: 5.836 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.000148/0.03643, allocations: 294.1 kB / 0.7997 GB, free: 5.539 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 3.329e-05/0.03646, allocations: 67.42 kB / 0.7998 GB, free: 5.473 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.844e-05/0.03655, allocations: 93.58 kB / 0.7999 GB, free: 5.375 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.03665, allocations: 370.7 kB / 0.8002 GB, free: 5.004 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.482e-05/0.03672, allocations: 47.41 kB / 0.8003 GB, free: 4.953 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000151/0.03687, allocations: 311.9 kB / 0.8006 GB, free: 4.574 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001392/0.03701, allocations: 129.5 kB / 0.8007 GB, free: 4.438 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.03701, allocations: 0 / 0.8007 GB, free: 4.438 MB / 0.7605 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0002249/0.03723, allocations: 204.7 kB / 0.8009 GB, free: 4.23 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.03725, allocations: 11.98 kB / 0.8009 GB, free: 4.219 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.03726, allocations: 3.938 kB / 0.8009 GB, free: 4.215 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.03727, allocations: 4 kB / 0.8009 GB, free: 4.211 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004906/0.03776, allocations: 147.9 kB / 0.8011 GB, free: 4.066 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008255/0.03858, allocations: 2.34 MB / 0.8033 GB, free: 1.633 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001801/0.03876, allocations: 35.73 kB / 0.8034 GB, free: 1.598 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.598e-05/0.03879, allocations: 15.98 kB / 0.8034 GB, free: 1.582 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001276/0.03892, allocations: 129.7 kB / 0.8035 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000145/0.03906, allocations: 316.7 kB / 0.8038 GB, free: 1.066 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001251/0.03919, allocations: 129.5 kB / 0.8039 GB, free: 0.9219 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.273e-06/0.03919, allocations: 4 kB / 0.8039 GB, free: 0.918 MB / 0.7605 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0002021/0.03939, allocations: 210.8 kB / 0.8042 GB, free: 0.7031 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 7.765e-06/0.0394, allocations: 4 kB / 0.8042 GB, free: 0.6992 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.725e-06/0.0394, allocations: 0 / 0.8042 GB, free: 0.6992 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.32e-06/0.03941, allocations: 4 kB / 0.8042 GB, free: 0.6953 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002913/0.0397, allocations: 123.8 kB / 0.8043 GB, free: 0.5742 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.0397, allocations: 4 kB / 0.8043 GB, free: 0.5703 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001454/0.03985, allocations: 39.84 kB / 0.8043 GB, free: 0.5312 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.03986, allocations: 8 kB / 0.8043 GB, free: 0.5234 MB / 0.7605 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 9.371e-05/0.03996, allocations: 204.1 kB / 0.8045 GB, free: 324 kB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.895e-05/0.03999, allocations: 31.97 kB / 0.8046 GB, free: 292 kB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002566/0.04025, allocations: 175.1 kB / 0.8047 GB, free: 104 kB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.04026, allocations: 8 kB / 0.8047 GB, free: 96 kB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.04026, allocations: 0 / 0.8047 GB, free: 96 kB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.04027, allocations: 7.922 kB / 0.8047 GB, free: 88 kB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3969/0.4371, allocations: 0.5708 MB / 0.8053 GB, free: 28.48 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.4371, allocations: 0 / 0.8053 GB, free: 28.48 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002257/0.4374, allocations: 64.08 kB / 0.8054 GB, free: 28.48 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.4374, allocations: 1.625 kB / 0.8054 GB, free: 28.48 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.4374, allocations: 6.812 kB / 0.8054 GB, free: 28.48 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003899/0.4378, allocations: 2.329 MB / 0.8076 GB, free: 26.16 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.4378, allocations: 7.031 kB / 0.8076 GB, free: 26.16 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002141/0.438, allocations: 299.5 kB / 0.8079 GB, free: 25.94 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.4381, allocations: 72.34 kB / 0.808 GB, free: 25.94 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.252e-05/0.4382, allocations: 6.609 kB / 0.808 GB, free: 25.94 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.4383, allocations: 11.67 kB / 0.808 GB, free: 25.94 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.385e-05/0.4383, allocations: 20.7 kB / 0.808 GB, free: 25.94 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.4383, allocations: 6.172 kB / 0.808 GB, free: 25.94 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001915/0.4385, allocations: 243.7 kB / 0.8083 GB, free: 25.91 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7e-08/0.4385, allocations: 0.8125 kB / 0.8083 GB, free: 25.91 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0005601/0.4391, allocations: 352.9 kB / 0.8086 GB, free: 25.91 MB / 0.7605 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.0002415/0.4393, allocations: 151 kB / 0.8088 GB, free: 25.84 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0006888/0.44, allocations: 320.1 kB / 0.8091 GB, free: 25.82 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.398e-05/0.44, allocations: 6.984 kB / 0.8091 GB, free: 25.82 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001174/0.4401, allocations: 76.23 kB / 0.8091 GB, free: 25.81 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006262/0.4408, allocations: 240.3 kB / 0.8094 GB, free: 25.8 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001527/0.4423, allocations: 1.094 MB / 0.8104 GB, free: 25.21 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002508/0.4426, allocations: 316.8 kB / 0.8107 GB, free: 25.11 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004018/0.443, allocations: 224.8 kB / 0.811 GB, free: 25.07 MB / 0.7605 GB Notification: Performance of SimCode: time 5.81e-07/0.443, allocations: 0 / 0.811 GB, free: 25.07 MB / 0.7605 GB Notification: Performance of Templates: time 0.01933/0.4623, allocations: 14.49 MB / 0.8251 GB, free: 22.83 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo Buildings_13_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/Buildings_13_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./Buildings_13_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization > Buildings_13_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.413798475638032]