Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 115 kB / 17.09 MB, free: 5.953 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.001452/0.001452, allocations: 198.8 kB / 18.03 MB, free: 5.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8332/0.8332, allocations: 126.1 MB / 417.9 MB, free: 12.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 63.09 kB / 0.5738 GB, free: 27.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1934/0.1954, allocations: 78.7 MB / 0.6506 GB, free: 4.105 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.02408/0.2195, allocations: 19.42 MB / 0.6696 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009183/0.2287, allocations: 5.159 MB / 0.6746 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001462/0.2302, allocations: 23.81 kB / 0.6746 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001141/0.2314, allocations: 274 kB / 0.6749 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002797/0.2342, allocations: 0.7993 MB / 0.6757 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002678/0.2369, allocations: 0.8868 MB / 0.6765 GB, free: 9.457 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002574/0.2395, allocations: 1.551 MB / 0.6781 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001088/0.2406, allocations: 0.5094 MB / 0.6786 GB, free: 7.375 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001476/0.2421, allocations: 0.6382 MB / 0.6792 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001065/0.2432, allocations: 0.5367 MB / 0.6797 GB, free: 6.195 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002174/0.2434, allocations: 56 kB / 0.6798 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001579/0.245, allocations: 0.7018 MB / 0.6804 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002916/0.2453, allocations: 159.4 kB / 0.6806 GB, free: 5.281 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0006338/0.2459, allocations: 382 kB / 0.681 GB, free: 4.906 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001757/0.2477, allocations: 1.093 MB / 0.682 GB, free: 3.809 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.2477, allocations: 0 / 0.682 GB, free: 3.809 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.414e-06/0.2477, allocations: 0 / 0.682 GB, free: 3.809 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.486e-05/0.2478, allocations: 0 / 0.682 GB, free: 3.809 MB / 0.5137 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.002372/0.2501, allocations: 1.136 MB / 0.6831 GB, free: 2.621 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.2502, allocations: 8.031 kB / 0.6831 GB, free: 2.613 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002269/0.2504, allocations: 84.42 kB / 0.6832 GB, free: 2.531 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009637/0.2514, allocations: 0.5224 MB / 0.6837 GB, free: 1.965 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.537e-05/0.2515, allocations: 40.94 kB / 0.6838 GB, free: 1.926 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.031e-05/0.2515, allocations: 56 kB / 0.6838 GB, free: 1.871 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00129/0.2528, allocations: 0.6255 MB / 0.6844 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.2529, allocations: 0 / 0.6844 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.107e-05/0.2529, allocations: 20 kB / 0.6845 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.521e-05/0.253, allocations: 19.94 kB / 0.6845 GB, free: 1.141 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001189/0.2542, allocations: 487.4 kB / 0.6849 GB, free: 0.6641 MB / 0.5137 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.00376/0.2579, allocations: 3.205 MB / 0.6881 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007274/0.2587, allocations: 335.6 kB / 0.6884 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004866/0.2592, allocations: 232.8 kB / 0.6886 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003487/0.2595, allocations: 352.3 kB / 0.6889 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.2596, allocations: 42.5 kB / 0.689 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=38): time 1.904e-06/0.2596, allocations: 0 / 0.689 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of matching and sorting (n=38): time 0.00221/0.2618, allocations: 0.7995 MB / 0.6898 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/0.2618, allocations: 59.39 kB / 0.6898 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000737/0.2626, allocations: 0.5901 MB / 0.6904 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.315e-05/0.2627, allocations: 33.7 kB / 0.6904 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000256/0.2629, allocations: 337 kB / 0.6908 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000116/0.263, allocations: 138.7 kB / 0.6909 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002004/0.2632, allocations: 134.2 kB / 0.691 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.2634, allocations: 370.7 kB / 0.6914 GB, free: 9.715 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000532/0.264, allocations: 227.3 kB / 0.6916 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006606/0.2646, allocations: 372 kB / 0.6919 GB, free: 9.066 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001122/0.2658, allocations: 0.5627 MB / 0.6925 GB, free: 8.441 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.2658, allocations: 8 kB / 0.6925 GB, free: 8.434 MB / 0.5294 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001595/0.2674, allocations: 0.7226 MB / 0.6932 GB, free: 7.703 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.2674, allocations: 8 kB / 0.6932 GB, free: 7.695 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.2674, allocations: 4 kB / 0.6932 GB, free: 7.691 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006519/0.2681, allocations: 133.2 kB / 0.6933 GB, free: 7.559 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000594/0.2687, allocations: 143.8 kB / 0.6935 GB, free: 7.418 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006042/0.2693, allocations: 0.6109 MB / 0.6941 GB, free: 6.781 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005801/0.2699, allocations: 91.53 kB / 0.6942 GB, free: 6.691 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.927e-05/0.27, allocations: 31.98 kB / 0.6942 GB, free: 6.66 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006453/0.2706, allocations: 345.3 kB / 0.6945 GB, free: 6.32 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006022/0.2713, allocations: 360 kB / 0.6949 GB, free: 5.906 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001068/0.2723, allocations: 0.5626 MB / 0.6954 GB, free: 5.281 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.2e-06/0.2724, allocations: 4 kB / 0.6954 GB, free: 5.277 MB / 0.5294 GB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001394/0.2738, allocations: 0.6715 MB / 0.6961 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.2738, allocations: 8 kB / 0.6961 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.2738, allocations: 8.031 kB / 0.6961 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.2738, allocations: 8 kB / 0.6961 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006021/0.2744, allocations: 155.7 kB / 0.6962 GB, free: 4.422 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.424e-05/0.2744, allocations: 11.92 kB / 0.6963 GB, free: 4.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005232/0.275, allocations: 71.64 kB / 0.6963 GB, free: 4.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.408e-05/0.275, allocations: 27.98 kB / 0.6964 GB, free: 4.312 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (69): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.000196/0.2752, allocations: 223.4 kB / 0.6966 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001367/0.2754, allocations: 67.53 kB / 0.6966 GB, free: 4.023 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00151/0.2769, allocations: 0.6511 MB / 0.6973 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.709e-06/0.2769, allocations: 8.062 kB / 0.6973 GB, free: 3.352 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.2769, allocations: 0 / 0.6973 GB, free: 3.352 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002802/0.2772, allocations: 196.5 kB / 0.6975 GB, free: 3.141 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.103e-05/0.2773, allocations: 12 kB / 0.6975 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004024/0.2777, allocations: 31.95 kB / 0.6975 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.562e-05/0.2778, allocations: 32.33 kB / 0.6975 GB, free: 3.066 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001562/0.2794, allocations: 0.6587 MB / 0.6982 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001725/0.2811, allocations: 0.9738 MB / 0.6991 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005031/0.2816, allocations: 228.1 kB / 0.6993 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004794/0.2821, allocations: 403.1 kB / 0.6997 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of Backend: time 8.22e-07/0.2821, allocations: 0 / 0.6997 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002711/0.2849, allocations: 0.9332 MB / 0.7006 GB, free: 15.87 MB / 0.545 GB Notification: Performance of SimCode: time 0.002565/0.2874, allocations: 1.636 MB / 0.7022 GB, free: 14.19 MB / 0.545 GB Notification: Performance of Templates: time 0.02752/0.315, allocations: 14.4 MB / 0.7163 GB, free: 15.93 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)