Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.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.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 115 kB / 17.09 MB, free: 5.988 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.001258/0.001258, allocations: 198.9 kB / 18.03 MB, free: 5.062 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.335/1.335, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7352/0.7352, allocations: 115.3 MB / 407.2 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 64.8 kB / 0.5583 GB, free: 32.13 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.183, allocations: 76.18 MB / 0.6327 GB, free: 4.402 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.03032/0.2134, allocations: 29.8 MB / 0.6618 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01122/0.2246, allocations: 8.148 MB / 0.6698 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001381/0.2261, allocations: 31.75 kB / 0.6698 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001251/0.2273, allocations: 425 kB / 0.6702 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003749/0.2311, allocations: 1.386 MB / 0.6716 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002777/0.2339, allocations: 1.133 MB / 0.6727 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004265/0.2382, allocations: 3.555 MB / 0.6762 GB, free: 7.789 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001916/0.2401, allocations: 1.337 MB / 0.6775 GB, free: 6.438 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003199/0.2433, allocations: 1.702 MB / 0.6791 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002972/0.2463, allocations: 1.616 MB / 0.6807 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0005775/0.2469, allocations: 128 kB / 0.6808 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002441/0.2494, allocations: 1.01 MB / 0.6818 GB, free: 1.973 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004337/0.2498, allocations: 410.6 kB / 0.6822 GB, free: 1.57 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0009669/0.2508, allocations: 0.7467 MB / 0.6829 GB, free: 0.8203 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002844/0.2537, allocations: 2.201 MB / 0.6851 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.2537, allocations: 0 / 0.6851 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.395e-06/0.2537, allocations: 0 / 0.6851 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.835e-05/0.2537, allocations: 0 / 0.6851 GB, free: 14.61 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.002824/0.2565, allocations: 1.671 MB / 0.6867 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.573e-05/0.2566, allocations: 12.03 kB / 0.6867 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003583/0.257, allocations: 151.4 kB / 0.6869 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001624/0.2586, allocations: 0.9259 MB / 0.6878 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.559e-05/0.2587, allocations: 81.25 kB / 0.6879 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002002/0.2589, allocations: 120 kB / 0.688 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/0.26, allocations: 0.6395 MB / 0.6886 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.26, allocations: 0 / 0.6886 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.395e-05/0.2601, allocations: 23.98 kB / 0.6886 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/0.2601, allocations: 16 kB / 0.6886 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008699/0.261, allocations: 472.8 kB / 0.6891 GB, free: 10.38 MB / 0.5294 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.004224/0.2652, allocations: 2.86 MB / 0.6919 GB, free: 7.367 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005951/0.2658, allocations: 311.1 kB / 0.6922 GB, free: 7.055 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00029/0.2661, allocations: 153.3 kB / 0.6923 GB, free: 6.902 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003189/0.2665, allocations: 344.7 kB / 0.6927 GB, free: 6.492 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.2665, allocations: 34.84 kB / 0.6927 GB, free: 6.449 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=33): time 1.813e-06/0.2665, allocations: 0 / 0.6927 GB, free: 6.449 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.001263/0.2678, allocations: 0.5283 MB / 0.6932 GB, free: 5.914 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.195e-05/0.2678, allocations: 55.41 kB / 0.6933 GB, free: 5.848 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001/0.2688, allocations: 0.9114 MB / 0.6941 GB, free: 4.918 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001251/0.269, allocations: 57.7 kB / 0.6942 GB, free: 4.855 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004187/0.2694, allocations: 482.7 kB / 0.6947 GB, free: 4.379 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.884e-05/0.2695, allocations: 106.4 kB / 0.6948 GB, free: 4.273 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003804/0.2699, allocations: 294.9 kB / 0.695 GB, free: 3.98 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.27, allocations: 330.1 kB / 0.6954 GB, free: 3.652 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003861/0.2704, allocations: 193.4 kB / 0.6955 GB, free: 3.461 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001297/0.2717, allocations: 1.155 MB / 0.6967 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007897/0.2725, allocations: 463.3 kB / 0.6971 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.2725, allocations: 3.938 kB / 0.6971 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001225/0.2737, allocations: 0.6501 MB / 0.6978 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.2738, allocations: 4 kB / 0.6978 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.2738, allocations: 8.188 kB / 0.6978 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.2738, allocations: 4 kB / 0.6978 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001367/0.2752, allocations: 227.7 kB / 0.698 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0016/0.2768, allocations: 2.961 MB / 0.7009 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003138/0.2799, allocations: 0.7026 MB / 0.7016 GB, free: 12.78 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.042e-05/0.28, allocations: 27.98 kB / 0.7016 GB, free: 12.75 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006753/0.2807, allocations: 372.8 kB / 0.7019 GB, free: 12.39 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001318/0.282, allocations: 1.158 MB / 0.7031 GB, free: 10.86 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007647/0.2828, allocations: 452.9 kB / 0.7035 GB, free: 10.38 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.935e-06/0.2828, allocations: 3.938 kB / 0.7035 GB, free: 10.37 MB / 0.545 GB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001388/0.2842, allocations: 0.6587 MB / 0.7042 GB, free: 9.703 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.2842, allocations: 4 kB / 0.7042 GB, free: 9.699 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.2842, allocations: 4 kB / 0.7042 GB, free: 9.695 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.2843, allocations: 8 kB / 0.7042 GB, free: 9.688 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006354/0.2849, allocations: 164 kB / 0.7043 GB, free: 9.527 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.2849, allocations: 8 kB / 0.7043 GB, free: 9.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004277/0.2892, allocations: 0.9574 MB / 0.7053 GB, free: 8.559 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.765e-05/0.2893, allocations: 23.98 kB / 0.7053 GB, free: 8.535 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (73): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002985/0.2896, allocations: 245.1 kB / 0.7055 GB, free: 8.285 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001672/0.2898, allocations: 98.69 kB / 0.7056 GB, free: 8.188 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001108/0.2909, allocations: 0.5088 MB / 0.7061 GB, free: 7.668 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.2909, allocations: 0 / 0.7061 GB, free: 7.668 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.2909, allocations: 0 / 0.7061 GB, free: 7.668 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002686/0.2912, allocations: 211.7 kB / 0.7063 GB, free: 7.441 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001279/0.2913, allocations: 15.94 kB / 0.7063 GB, free: 7.426 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004519/0.2918, allocations: 27.97 kB / 0.7064 GB, free: 7.398 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.557e-05/0.2919, allocations: 28.23 kB / 0.7064 GB, free: 7.371 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001149/0.293, allocations: 0.545 MB / 0.7069 GB, free: 6.805 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001198/0.2942, allocations: 0.8228 MB / 0.7077 GB, free: 5.965 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003067/0.2945, allocations: 168.9 kB / 0.7079 GB, free: 5.801 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0008509/0.2954, allocations: 0.6123 MB / 0.7085 GB, free: 5.18 MB / 0.545 GB Notification: Performance of Backend: time 1.572e-06/0.2954, allocations: 0 / 0.7085 GB, free: 5.18 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00336/0.2988, allocations: 1.035 MB / 0.7095 GB, free: 4.148 MB / 0.545 GB Notification: Performance of SimCode: time 0.003623/0.3024, allocations: 2.216 MB / 0.7117 GB, free: 1.879 MB / 0.545 GB Notification: Performance of Templates: time 0.04496/0.3474, allocations: 26.92 MB / 0.7379 GB, free: 7.348 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)