Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009416/0.0009416, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4907/0.4907, allocations: 90.91 MB / 99.34 MB, free: 2.184 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 221.5 MB / 343.2 MB, free: 1.594 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009156/0.0009157, allocations: 95.12 kB / 415.9 MB, free: 11.17 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.73e-05/1.734e-05, allocations: 4 kB / 494.5 MB, free: 52.4 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1457, allocations: 72.31 MB / 0.5535 GB, free: 12.28 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.171/1.317, allocations: 348.4 MB / 0.8937 GB, free: 131.9 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/1.317, allocations: 95.25 kB / 0.8938 GB, free: 131.8 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.614/2.931, allocations: 414.9 MB / 1.299 GB, free: 105 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.855e-06/2.931, allocations: 0 / 1.299 GB, free: 105 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001325/2.931, allocations: 25.94 kB / 1.299 GB, free: 105 MB / 0.5886 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.002616/2.934, allocations: 1.046 MB / 1.3 GB, free: 104.5 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/2.934, allocations: 15.39 kB / 1.3 GB, free: 104.5 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004052/2.934, allocations: 96.69 kB / 1.3 GB, free: 104.4 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00134/2.936, allocations: 0.5629 MB / 1.301 GB, free: 104.2 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.737e-05/2.936, allocations: 14.75 kB / 1.301 GB, free: 104.2 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/2.936, allocations: 39.12 kB / 1.301 GB, free: 104.2 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005143/2.936, allocations: 242.2 kB / 1.301 GB, free: 104.2 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005572/2.937, allocations: 315.7 kB / 1.301 GB, free: 104.1 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.012e-05/2.937, allocations: 3.953 kB / 1.301 GB, free: 104.1 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.032e-05/2.937, allocations: 0 / 1.301 GB, free: 104.1 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/2.937, allocations: 11.12 kB / 1.301 GB, free: 104.1 MB / 0.5886 GB Warning: The model contains alias variables with conflicting start and/or 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.002984/2.94, allocations: 1.742 MB / 1.303 GB, free: 103.3 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002442/2.94, allocations: 153.5 kB / 1.303 GB, free: 103.3 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.664e-05/2.94, allocations: 65.38 kB / 1.303 GB, free: 103.3 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000261/2.941, allocations: 338.6 kB / 1.304 GB, free: 102.9 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/2.941, allocations: 39.72 kB / 1.304 GB, free: 102.9 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=19): time 2.625e-06/2.941, allocations: 0 / 1.304 GB, free: 102.9 MB / 0.5886 GB Notification: Performance of matching and sorting (n=19): time 0.0005758/2.941, allocations: 224.2 kB / 1.304 GB, free: 102.8 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.518e-05/2.941, allocations: 51.41 kB / 1.304 GB, free: 102.8 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005509/2.942, allocations: 491.9 kB / 1.304 GB, free: 102.6 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.972e-05/2.942, allocations: 27.42 kB / 1.304 GB, free: 102.6 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002198/2.942, allocations: 366.6 kB / 1.305 GB, free: 102.5 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.809e-05/2.942, allocations: 62.42 kB / 1.305 GB, free: 102.4 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.613e-05/2.942, allocations: 3.719 kB / 1.305 GB, free: 102.4 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001061/2.942, allocations: 368.4 kB / 1.305 GB, free: 102.1 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001587/2.943, allocations: 80.75 kB / 1.305 GB, free: 102.1 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002066/2.943, allocations: 193.1 kB / 1.305 GB, free: 102 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000298/2.943, allocations: 112.7 kB / 1.305 GB, free: 102 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/2.943, allocations: 3.969 kB / 1.305 GB, free: 102 MB / 0.5886 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005829/2.944, allocations: 342.8 kB / 1.306 GB, free: 101.9 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 9.457e-05/2.944, allocations: 279.1 kB / 1.306 GB, free: 101.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/2.944, allocations: 0 / 1.306 GB, free: 101.6 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/2.944, allocations: 3.656 kB / 1.306 GB, free: 101.6 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009122/2.945, allocations: 144.6 kB / 1.306 GB, free: 101.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009818/2.946, allocations: 2.387 MB / 1.309 GB, free: 99.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006887/2.946, allocations: 74.42 kB / 1.309 GB, free: 99.29 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.824e-05/2.947, allocations: 18.92 kB / 1.309 GB, free: 99.29 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/2.947, allocations: 3.438 kB / 1.309 GB, free: 99.29 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004271/2.947, allocations: 221.9 kB / 1.309 GB, free: 99.29 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/2.947, allocations: 3.25 kB / 1.309 GB, free: 99.29 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.384e-06/2.947, allocations: 3.625 kB / 1.309 GB, free: 99.29 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000392/2.947, allocations: 105.9 kB / 1.309 GB, free: 99.29 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/2.947, allocations: 0 / 1.309 GB, free: 99.29 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005836/2.948, allocations: 69.42 kB / 1.309 GB, free: 99.28 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.587e-05/2.948, allocations: 23.25 kB / 1.309 GB, free: 99.28 MB / 0.5886 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 () * 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 (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001206/2.948, allocations: 115.8 kB / 1.309 GB, free: 99.17 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/2.948, allocations: 57.25 kB / 1.309 GB, free: 99.14 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005447/2.949, allocations: 265 kB / 1.309 GB, free: 99.09 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/2.949, allocations: 3.625 kB / 1.309 GB, free: 99.09 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/2.949, allocations: 0 / 1.309 GB, free: 99.09 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/2.949, allocations: 3.656 kB / 1.309 GB, free: 99.09 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0012/2.95, allocations: 0.7824 MB / 1.31 GB, free: 98.78 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.189e-06/2.95, allocations: 0 / 1.31 GB, free: 98.78 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003077/2.95, allocations: 78.34 kB / 1.31 GB, free: 98.78 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/2.95, allocations: 0 / 1.31 GB, free: 98.78 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/2.95, allocations: 3.781 kB / 1.31 GB, free: 98.78 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006982/2.951, allocations: 2.355 MB / 1.313 GB, free: 96.44 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.319e-06/2.951, allocations: 3.906 kB / 1.313 GB, free: 96.44 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004259/2.952, allocations: 401.4 kB / 1.313 GB, free: 96.18 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000251/2.952, allocations: 161.7 kB / 1.313 GB, free: 96.05 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.021e-05/2.952, allocations: 5.906 kB / 1.313 GB, free: 96.05 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004424/2.952, allocations: 58.31 kB / 1.313 GB, free: 96.05 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.874e-05/2.952, allocations: 14.5 kB / 1.313 GB, free: 96.05 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.607e-05/2.953, allocations: 11.47 kB / 1.313 GB, free: 96.05 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0003867/2.953, allocations: 374.4 kB / 1.314 GB, free: 95.95 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.4e-07/2.953, allocations: 0 / 1.314 GB, free: 95.95 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001222/2.954, allocations: 383 kB / 1.314 GB, free: 95.91 MB / 0.5886 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 () * 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 (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009436/2.955, allocations: 496.6 kB / 1.314 GB, free: 95.77 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001184/2.956, allocations: 414.7 kB / 1.315 GB, free: 95.76 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/2.956, allocations: 0 / 1.315 GB, free: 95.76 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002639/2.957, allocations: 110.8 kB / 1.315 GB, free: 95.76 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001506/2.958, allocations: 284.2 kB / 1.315 GB, free: 95.76 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001447/2.96, allocations: 0.7342 MB / 1.316 GB, free: 95.45 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003973/2.96, allocations: 0.9444 MB / 1.317 GB, free: 94.74 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0006601/2.961, allocations: 136.5 kB / 1.317 GB, free: 94.73 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.529e-05/2.961, allocations: 40.06 kB / 1.317 GB, free: 94.72 MB / 0.5886 GB Notification: Performance of SimCode: time 4.81e-07/2.961, allocations: 0 / 1.317 GB, free: 94.72 MB / 0.5886 GB Notification: Performance of Templates: time 0.02244/2.983, allocations: 12.26 MB / 1.329 GB, free: 94.37 MB / 0.5886 GB 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)