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/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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009348/0.0009348, allocations: 99.94 kB / 15.05 MB, free: 1.105 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.0009381/0.0009382, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.049/1.049, allocations: 143.3 MB / 434.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003464/0.0003466, allocations: 8 kB / 0.5158 GB, free: 11.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1902/0.1906, allocations: 83.41 MB / 0.5973 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.3188/0.5094, allocations: 25.81 MB / 0.6225 GB, free: 30.3 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01057/0.52, allocations: 9.276 MB / 0.6316 GB, free: 23.86 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001591/0.5217, allocations: 16.97 kB / 0.6316 GB, free: 23.85 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001476/0.5232, allocations: 341.7 kB / 0.6319 GB, free: 23.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003894/0.5271, allocations: 1.142 MB / 0.633 GB, free: 22.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002974/0.53, allocations: 0.9099 MB / 0.6339 GB, free: 22.47 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002255/0.5323, allocations: 1.241 MB / 0.6351 GB, free: 21.82 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007805/0.5331, allocations: 0.5363 MB / 0.6356 GB, free: 21.62 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001645/0.5348, allocations: 0.7767 MB / 0.6364 GB, free: 21.22 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006366/0.5354, allocations: 464.6 kB / 0.6368 GB, free: 21.03 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.037e-05/0.5355, allocations: 28.78 kB / 0.6369 GB, free: 21.03 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00115/0.5366, allocations: 386.9 kB / 0.6372 GB, free: 20.93 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001471/0.5368, allocations: 125.1 kB / 0.6373 GB, free: 20.86 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001851/0.537, allocations: 187 kB / 0.6375 GB, free: 20.76 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007768/0.5378, allocations: 0.741 MB / 0.6383 GB, free: 20.57 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.5378, allocations: 0 / 0.6383 GB, free: 20.57 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.394e-06/0.5378, allocations: 0 / 0.6383 GB, free: 20.57 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.658e-06/0.5378, allocations: 3.438 kB / 0.6383 GB, free: 20.57 MB / 0.4981 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.001474/0.5393, allocations: 1.012 MB / 0.6392 GB, free: 19.84 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.5393, allocations: 12 kB / 0.6393 GB, free: 19.83 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000124/0.5395, allocations: 95.16 kB / 0.6393 GB, free: 19.79 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007051/0.5402, allocations: 0.5343 MB / 0.6399 GB, free: 19.42 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.772e-05/0.5402, allocations: 45.86 kB / 0.6399 GB, free: 19.39 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.231e-05/0.5403, allocations: 58.22 kB / 0.64 GB, free: 19.38 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006878/0.541, allocations: 402 kB / 0.6403 GB, free: 19.21 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.541, allocations: 0 / 0.6403 GB, free: 19.21 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.104e-05/0.5411, allocations: 21.78 kB / 0.6404 GB, free: 19.2 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.29e-05/0.5411, allocations: 12.25 kB / 0.6404 GB, free: 19.2 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005806/0.5417, allocations: 314.6 kB / 0.6407 GB, free: 19.1 MB / 0.4981 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.002415/0.5441, allocations: 1.86 MB / 0.6425 GB, free: 17.87 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003387/0.5445, allocations: 172.4 kB / 0.6427 GB, free: 17.8 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002327/0.5447, allocations: 334.9 kB / 0.643 GB, free: 17.42 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.5447, allocations: 37 kB / 0.643 GB, free: 17.38 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=19): time 1.923e-06/0.5447, allocations: 3.938 kB / 0.643 GB, free: 17.37 MB / 0.4981 GB Notification: Performance of matching and sorting (n=19): time 0.0006976/0.5454, allocations: 326.3 kB / 0.6433 GB, free: 17.24 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.5455, allocations: 55.36 kB / 0.6434 GB, free: 17.18 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006515/0.5461, allocations: 0.6762 MB / 0.644 GB, free: 16.88 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.822e-05/0.5462, allocations: 32.33 kB / 0.6441 GB, free: 16.85 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000213/0.5464, allocations: 364.5 kB / 0.6444 GB, free: 16.56 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.963e-05/0.5464, allocations: 69.83 kB / 0.6445 GB, free: 16.5 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.645e-05/0.5465, allocations: 10.62 kB / 0.6445 GB, free: 16.5 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.849e-05/0.5466, allocations: 377.9 kB / 0.6449 GB, free: 16.16 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002108/0.5468, allocations: 99.91 kB / 0.645 GB, free: 16.13 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002699/0.5471, allocations: 191.2 kB / 0.6451 GB, free: 16.02 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002348/0.5473, allocations: 121 kB / 0.6453 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.5473, allocations: 0 / 0.6453 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006293/0.548, allocations: 399.8 kB / 0.6456 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.009e-05/0.5481, allocations: 276.1 kB / 0.6459 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.5481, allocations: 0 / 0.6459 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.5481, allocations: 2.625 kB / 0.6459 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.5491, allocations: 161.9 kB / 0.6461 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009387/0.5501, allocations: 2.369 MB / 0.6484 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005883/0.5507, allocations: 85.81 kB / 0.6485 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.364e-05/0.5507, allocations: 18.17 kB / 0.6485 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.137e-06/0.5508, allocations: 5.844 kB / 0.6485 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005493/0.5513, allocations: 291.2 kB / 0.6488 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.354e-06/0.5513, allocations: 4 kB / 0.6488 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.079e-06/0.5513, allocations: 2.656 kB / 0.6488 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004058/0.5517, allocations: 101.6 kB / 0.6489 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.5518, allocations: 2.859 kB / 0.6489 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004512/0.5522, allocations: 81 kB / 0.6489 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.853e-05/0.5523, allocations: 17.23 kB / 0.649 GB, free: 12.96 MB / 0.4981 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.0002552/0.5525, allocations: 263.8 kB / 0.6492 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.106e-05/0.5526, allocations: 73.55 kB / 0.6493 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006286/0.5532, allocations: 319.2 kB / 0.6496 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.998e-06/0.5533, allocations: 6.688 kB / 0.6496 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.5533, allocations: 0 / 0.6496 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.5533, allocations: 0 / 0.6496 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001215/0.5545, allocations: 0.8988 MB / 0.6505 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.5545, allocations: 2.719 kB / 0.6505 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003196/0.5548, allocations: 75.89 kB / 0.6505 GB, free: 12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.5549, allocations: 6.203 kB / 0.6505 GB, free: 12 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.5549, allocations: 7.125 kB / 0.6505 GB, free: 12 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006915/0.5556, allocations: 2.367 MB / 0.6529 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.5556, allocations: 0.5469 kB / 0.6529 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005178/0.5561, allocations: 458.3 kB / 0.6533 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001848/0.5563, allocations: 184.1 kB / 0.6535 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.745e-05/0.5564, allocations: 4.188 kB / 0.6535 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003892/0.5568, allocations: 52.3 kB / 0.6535 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.489e-05/0.5569, allocations: 17.94 kB / 0.6535 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-05/0.5569, allocations: 6.406 kB / 0.6536 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005588/0.5574, allocations: 470.6 kB / 0.654 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5575, allocations: 0 / 0.654 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001009/0.5585, allocations: 351.7 kB / 0.6543 GB, free: 8.832 MB / 0.4981 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.0005728/0.5591, allocations: 250.9 kB / 0.6546 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001704/0.5608, allocations: 0.4978 MB / 0.6551 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.5608, allocations: 4.656 kB / 0.6551 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004417/0.5612, allocations: 147.3 kB / 0.6552 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001979/0.5632, allocations: 366.8 kB / 0.6556 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002369/0.5656, allocations: 1.344 MB / 0.6569 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005581/0.5662, allocations: 0.945 MB / 0.6578 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006014/0.5668, allocations: 121.2 kB / 0.6579 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/0.5669, allocations: 50.78 kB / 0.658 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of SimCode: time 1.654e-06/0.5669, allocations: 0.5 kB / 0.658 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of Templates: time 0.03244/0.5994, allocations: 12.09 MB / 0.6698 GB, free: 5.902 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: