Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.7658/0.7658, allocations: 117.9 MB / 133.9 MB, free: 4.516 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001092/0.001093, allocations: 181.3 kB / 161.7 MB, free: 2.738 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.863/1.863, allocations: 205.3 MB / 394.8 MB, free: 20.95 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007628/0.0007627, allocations: 92.69 kB / 470.1 MB, free: 12.13 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003705/0.0003705, allocations: 12 kB / 0.5423 GB, free: 6.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3234, allocations: 74.54 MB / 0.6151 GB, free: 54.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6394/0.9628, allocations: 357.7 MB / 0.9645 GB, free: 6.098 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000315/0.9632, allocations: 104.2 kB / 0.9646 GB, free: 6.039 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.226/2.189, allocations: 398 MB / 1.353 GB, free: 137.8 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.024e-06/2.189, allocations: 3.969 kB / 1.353 GB, free: 137.8 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.416e-05/2.189, allocations: 25.59 kB / 1.353 GB, free: 137.8 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002047/2.192, allocations: 1.159 MB / 1.354 GB, free: 136.9 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/2.192, allocations: 7.531 kB / 1.354 GB, free: 136.9 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001937/2.192, allocations: 93.12 kB / 1.354 GB, free: 136.8 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009696/2.193, allocations: 0.6002 MB / 1.355 GB, free: 136.4 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.32e-05/2.193, allocations: 44.22 kB / 1.355 GB, free: 136.4 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.434e-05/2.193, allocations: 57.16 kB / 1.355 GB, free: 136.3 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001413/2.194, allocations: 0.5136 MB / 1.356 GB, free: 136.1 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/2.194, allocations: 3.938 kB / 1.356 GB, free: 136.1 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.646e-05/2.194, allocations: 15.66 kB / 1.356 GB, free: 136.1 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/2.194, allocations: 11.5 kB / 1.356 GB, free: 136.1 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001213/2.196, allocations: 418.2 kB / 1.356 GB, free: 135.9 MB / 0.6355 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.002362/2.198, allocations: 1.822 MB / 1.358 GB, free: 134.4 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009877/2.199, allocations: 268.3 kB / 1.358 GB, free: 134.3 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001339/2.199, allocations: 69.62 kB / 1.358 GB, free: 134.3 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002019/2.199, allocations: 338.1 kB / 1.359 GB, free: 133.9 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/2.199, allocations: 39.78 kB / 1.359 GB, free: 133.8 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 1.953e-06/2.199, allocations: 0 / 1.359 GB, free: 133.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.001997/2.201, allocations: 0.5185 MB / 1.359 GB, free: 133.6 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.099e-05/2.201, allocations: 55.12 kB / 1.359 GB, free: 133.6 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006067/2.202, allocations: 0.667 MB / 1.36 GB, free: 133.2 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.681e-05/2.202, allocations: 37.48 kB / 1.36 GB, free: 133.1 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001762/2.202, allocations: 366.5 kB / 1.36 GB, free: 132.8 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.583e-05/2.202, allocations: 54.84 kB / 1.36 GB, free: 132.8 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.931e-05/2.202, allocations: 7.781 kB / 1.36 GB, free: 132.8 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.529e-05/2.202, allocations: 370.6 kB / 1.361 GB, free: 132.4 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003233/2.203, allocations: 140.3 kB / 1.361 GB, free: 132.3 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000362/2.203, allocations: 250.8 kB / 1.361 GB, free: 132.2 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005877/2.204, allocations: 291.3 kB / 1.361 GB, free: 132 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/2.204, allocations: 0 / 1.361 GB, free: 132 MB / 0.6355 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008339/2.205, allocations: 460.2 kB / 1.362 GB, free: 131.8 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.741e-05/2.205, allocations: 108.9 kB / 1.362 GB, free: 131.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/2.205, allocations: 7.203 kB / 1.362 GB, free: 131.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/2.205, allocations: 0 / 1.362 GB, free: 131.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002766/2.207, allocations: 457.4 kB / 1.362 GB, free: 131.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008655/2.216, allocations: 6.172 MB / 1.368 GB, free: 125.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008159/2.217, allocations: 105.4 kB / 1.368 GB, free: 125.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.307e-05/2.217, allocations: 19.77 kB / 1.368 GB, free: 125.7 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.033e-06/2.217, allocations: 3.469 kB / 1.368 GB, free: 125.7 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004995/2.218, allocations: 271.2 kB / 1.369 GB, free: 125.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.915e-06/2.218, allocations: 0 / 1.369 GB, free: 125.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.358e-06/2.218, allocations: 3.781 kB / 1.369 GB, free: 125.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003589/2.218, allocations: 108 kB / 1.369 GB, free: 125.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/2.218, allocations: 3.938 kB / 1.369 GB, free: 125.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005937/2.219, allocations: 82.88 kB / 1.369 GB, free: 125.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.336e-05/2.219, allocations: 22.52 kB / 1.369 GB, free: 125.5 MB / 0.6355 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 (43): * Single equations (assignments): 39 * 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.000321/2.219, allocations: 261.5 kB / 1.369 GB, free: 125.3 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001284/2.219, allocations: 63 kB / 1.369 GB, free: 125.2 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007928/2.22, allocations: 337 kB / 1.369 GB, free: 125 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/2.22, allocations: 3.062 kB / 1.369 GB, free: 125 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/2.22, allocations: 0 / 1.369 GB, free: 125 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/2.22, allocations: 0 / 1.369 GB, free: 125 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008546/2.221, allocations: 0.5119 MB / 1.37 GB, free: 124.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/2.221, allocations: 3.938 kB / 1.37 GB, free: 124.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003046/2.224, allocations: 447.4 kB / 1.37 GB, free: 124.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.708e-06/2.224, allocations: 3.469 kB / 1.37 GB, free: 124.5 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.896e-05/2.224, allocations: 3.938 kB / 1.37 GB, free: 124.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008994/2.233, allocations: 5.997 MB / 1.376 GB, free: 118.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/2.233, allocations: 0 / 1.376 GB, free: 118.1 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009744/2.234, allocations: 312.7 kB / 1.377 GB, free: 117.8 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004091/2.234, allocations: 160.1 kB / 1.377 GB, free: 117.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002357/2.235, allocations: 7.938 kB / 1.377 GB, free: 117.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007957/2.235, allocations: 73.8 kB / 1.377 GB, free: 117.6 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/2.236, allocations: 11.97 kB / 1.377 GB, free: 117.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.988e-05/2.236, allocations: 10.94 kB / 1.377 GB, free: 117.5 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0008102/2.236, allocations: 491 kB / 1.377 GB, free: 117.1 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.71e-07/2.236, allocations: 0 / 1.377 GB, free: 117.1 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001925/2.238, allocations: 403.5 kB / 1.378 GB, free: 116.7 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 9 * 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 Backend phase and start with SimCode phase: time 0.001071/2.239, allocations: 469.6 kB / 1.378 GB, free: 116.3 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.004949/2.244, allocations: 0.8297 MB / 1.379 GB, free: 115.5 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.229e-06/2.244, allocations: 4 kB / 1.379 GB, free: 115.5 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.003444/2.248, allocations: 0.5315 MB / 1.379 GB, free: 115 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001862/2.25, allocations: 366.1 kB / 1.38 GB, free: 114.7 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002353/2.252, allocations: 1.275 MB / 1.381 GB, free: 113.4 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000384/2.253, allocations: 0.9105 MB / 1.382 GB, free: 112.5 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0007097/2.253, allocations: 93.55 kB / 1.382 GB, free: 112.4 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/2.253, allocations: 53.52 kB / 1.382 GB, free: 112.3 MB / 0.6355 GB Notification: Performance of SimCode: time 5.21e-07/2.253, allocations: 0 / 1.382 GB, free: 112.3 MB / 0.6355 GB Notification: Performance of Templates: time 0.02685/2.28, allocations: 15.74 MB / 1.397 GB, free: 97.28 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)