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.00155/0.001549, allocations: 182.3 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5224/0.5224, allocations: 91.99 MB / 108.5 MB, free: 13.09 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 223.2 MB / 354.3 MB, free: 12.2 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009447/0.0009446, allocations: 100.2 kB / 427.4 MB, free: 3.953 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003453/0.0003452, allocations: 8 kB / 0.4982 GB, free: 42.34 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1601, allocations: 72.32 MB / 0.5689 GB, free: 1.961 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.001/1.161, allocations: 349.1 MB / 0.9098 GB, free: 117 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000269/1.161, allocations: 103.2 kB / 0.9099 GB, free: 117 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.469/2.63, allocations: 418.8 MB / 1.319 GB, free: 111.7 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.695e-06/2.631, allocations: 0 / 1.319 GB, free: 111.7 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.000129/2.631, allocations: 29.14 kB / 1.319 GB, free: 111.7 MB / 0.6042 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.003247/2.634, allocations: 1.186 MB / 1.32 GB, free: 111.2 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/2.634, allocations: 14.33 kB / 1.32 GB, free: 111.2 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003796/2.634, allocations: 96.75 kB / 1.32 GB, free: 111.2 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00151/2.636, allocations: 0.5817 MB / 1.321 GB, free: 110.9 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.779e-05/2.636, allocations: 47.28 kB / 1.321 GB, free: 110.9 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001503/2.636, allocations: 57.75 kB / 1.321 GB, free: 110.9 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008934/2.637, allocations: 401.6 kB / 1.321 GB, free: 110.9 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/2.637, allocations: 4.219 kB / 1.321 GB, free: 110.9 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.689e-05/2.637, allocations: 22.58 kB / 1.321 GB, free: 110.9 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.381e-05/2.637, allocations: 13.88 kB / 1.321 GB, free: 110.9 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005874/2.638, allocations: 289.1 kB / 1.322 GB, free: 110.9 MB / 0.6042 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.003321/2.641, allocations: 1.86 MB / 1.323 GB, free: 110 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000351/2.641, allocations: 173.4 kB / 1.323 GB, free: 110 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002853/2.642, allocations: 343 kB / 1.324 GB, free: 109.6 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/2.642, allocations: 32.84 kB / 1.324 GB, free: 109.6 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=19): time 2.464e-06/2.642, allocations: 0 / 1.324 GB, free: 109.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19): time 0.0008076/2.643, allocations: 312.8 kB / 1.324 GB, free: 109.5 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/2.643, allocations: 62.88 kB / 1.324 GB, free: 109.4 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007029/2.643, allocations: 0.6046 MB / 1.325 GB, free: 109.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.387e-05/2.643, allocations: 28.95 kB / 1.325 GB, free: 109.3 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000227/2.644, allocations: 365.5 kB / 1.325 GB, free: 109.2 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.261e-05/2.644, allocations: 66.78 kB / 1.325 GB, free: 109.1 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.844e-05/2.644, allocations: 7.125 kB / 1.325 GB, free: 109.1 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.544e-05/2.644, allocations: 375.3 kB / 1.326 GB, free: 108.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002242/2.644, allocations: 104 kB / 1.326 GB, free: 108.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003071/2.644, allocations: 213.5 kB / 1.326 GB, free: 108.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002772/2.645, allocations: 143.8 kB / 1.326 GB, free: 108.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/2.645, allocations: 0 / 1.326 GB, free: 108.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000767/2.645, allocations: 391.8 kB / 1.326 GB, free: 108.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.61e-05/2.646, allocations: 273.3 kB / 1.327 GB, free: 108.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.106e-06/2.646, allocations: 0 / 1.327 GB, free: 108.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.509e-05/2.646, allocations: 10.67 kB / 1.327 GB, free: 108.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008627/2.646, allocations: 125.4 kB / 1.327 GB, free: 108.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000997/2.647, allocations: 2.367 MB / 1.329 GB, free: 106 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000789/2.648, allocations: 88.25 kB / 1.329 GB, free: 106 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.006e-05/2.648, allocations: 21.77 kB / 1.329 GB, free: 106 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/2.648, allocations: 7.094 kB / 1.329 GB, free: 106 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005454/2.649, allocations: 287.2 kB / 1.33 GB, free: 106 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/2.649, allocations: 3.719 kB / 1.33 GB, free: 106 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.209e-06/2.649, allocations: 3.25 kB / 1.33 GB, free: 106 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004076/2.649, allocations: 105.1 kB / 1.33 GB, free: 106 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/2.649, allocations: 3.953 kB / 1.33 GB, free: 106 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000712/2.65, allocations: 88.66 kB / 1.33 GB, free: 106 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.953e-05/2.65, allocations: 18.84 kB / 1.33 GB, free: 106 MB / 0.6042 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 (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.0004001/2.651, allocations: 272.7 kB / 1.33 GB, free: 105.8 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001338/2.651, allocations: 64.59 kB / 1.33 GB, free: 105.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006983/2.651, allocations: 327.5 kB / 1.33 GB, free: 105.7 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/2.651, allocations: 0 / 1.33 GB, free: 105.7 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/2.651, allocations: 7.656 kB / 1.33 GB, free: 105.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/2.651, allocations: 3.969 kB / 1.33 GB, free: 105.7 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001551/2.653, allocations: 0.8928 MB / 1.331 GB, free: 105.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/2.653, allocations: 3.781 kB / 1.331 GB, free: 105.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003232/2.653, allocations: 78.73 kB / 1.331 GB, free: 105.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.015e-05/2.653, allocations: 7.516 kB / 1.331 GB, free: 105.4 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.836e-05/2.653, allocations: 6.281 kB / 1.331 GB, free: 105.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007429/2.654, allocations: 2.352 MB / 1.334 GB, free: 103 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/2.654, allocations: 6.375 kB / 1.334 GB, free: 103 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005606/2.655, allocations: 449.2 kB / 1.334 GB, free: 102.7 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003241/2.655, allocations: 172.7 kB / 1.334 GB, free: 102.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001206/2.655, allocations: 8.281 kB / 1.334 GB, free: 102.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004967/2.656, allocations: 61 kB / 1.334 GB, free: 102.6 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.532e-05/2.656, allocations: 15.66 kB / 1.334 GB, free: 102.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.091e-05/2.656, allocations: 16.55 kB / 1.334 GB, free: 102.6 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005644/2.656, allocations: 471.2 kB / 1.335 GB, free: 102.5 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/2.656, allocations: 0 / 1.335 GB, free: 102.5 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001342/2.658, allocations: 388.3 kB / 1.335 GB, free: 102.5 MB / 0.6042 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 (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.0009969/2.659, allocations: 469.8 kB / 1.336 GB, free: 102.4 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001493/2.66, allocations: 464.7 kB / 1.336 GB, free: 102.3 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/2.66, allocations: 1.594 kB / 1.336 GB, free: 102.3 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003492/2.661, allocations: 134.5 kB / 1.336 GB, free: 102.3 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001892/2.663, allocations: 373.3 kB / 1.337 GB, free: 102.3 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002193/2.665, allocations: 1.329 MB / 1.338 GB, free: 101.6 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004214/2.665, allocations: 0.9514 MB / 1.339 GB, free: 100.9 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0006363/2.666, allocations: 112.5 kB / 1.339 GB, free: 100.9 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/2.666, allocations: 48.14 kB / 1.339 GB, free: 100.9 MB / 0.6042 GB Notification: Performance of SimCode: time 9.32e-07/2.666, allocations: 0 / 1.339 GB, free: 100.9 MB / 0.6042 GB Notification: Performance of Templates: time 0.02459/2.691, allocations: 14.85 MB / 1.353 GB, free: 100.5 MB / 0.6042 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)