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.00078/0.00078, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008934/0.0008934, allocations: 175.6 kB / 16.58 MB, free: 6.852 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.4/1.4, allocations: 223.3 MB / 240.6 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7165/0.7165, allocations: 115.5 MB / 407.2 MB, free: 2.852 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003144/0.0003145, allocations: 8 kB / 495.2 MB, free: 6.754 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1665, allocations: 77.53 MB / 0.5593 GB, free: 9.43 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.018/0.1845, allocations: 17.76 MB / 0.5767 GB, free: 7.613 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007299/0.1919, allocations: 4.848 MB / 0.5814 GB, free: 2.75 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006269/0.1926, allocations: 19.81 kB / 0.5814 GB, free: 2.73 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006232/0.1932, allocations: 190.7 kB / 0.5816 GB, free: 2.543 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001546/0.1947, allocations: 0.6176 MB / 0.5822 GB, free: 1.922 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001775/0.1965, allocations: 0.7333 MB / 0.5829 GB, free: 1.199 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.3079/0.5045, allocations: 1.685 MB / 0.5846 GB, free: 11.91 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001102/0.5056, allocations: 410.5 kB / 0.585 GB, free: 11.87 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001343/0.507, allocations: 0.5388 MB / 0.5855 GB, free: 11.87 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008169/0.5078, allocations: 0.4901 MB / 0.586 GB, free: 11.87 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.828e-05/0.5079, allocations: 28 kB / 0.586 GB, free: 11.87 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001378/0.5093, allocations: 0.5979 MB / 0.5866 GB, free: 11.87 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000167/0.5095, allocations: 125.5 kB / 0.5867 GB, free: 11.87 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001966/0.5097, allocations: 160.1 kB / 0.5869 GB, free: 11.83 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001215/0.5109, allocations: 0.7453 MB / 0.5876 GB, free: 11.8 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.5109, allocations: 0 / 0.5876 GB, free: 11.8 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.5109, allocations: 0.8438 kB / 0.5876 GB, free: 11.8 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.421e-05/0.511, allocations: 0 / 0.5876 GB, free: 11.8 MB / 446.1 MB 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.002156/0.5131, allocations: 0.9936 MB / 0.5885 GB, free: 27.16 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.5132, allocations: 9.188 kB / 0.5886 GB, free: 27.16 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001542/0.5133, allocations: 84.23 kB / 0.5886 GB, free: 27.12 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008009/0.5141, allocations: 493.9 kB / 0.5891 GB, free: 26.85 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.536e-05/0.5142, allocations: 38.09 kB / 0.5891 GB, free: 26.85 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.447e-05/0.5143, allocations: 45.56 kB / 0.5892 GB, free: 26.85 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001199/0.5155, allocations: 0.6372 MB / 0.5898 GB, free: 26.66 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/0.5155, allocations: 3.188 kB / 0.5898 GB, free: 26.66 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.159e-05/0.5156, allocations: 25.66 kB / 0.5898 GB, free: 26.66 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.019e-05/0.5156, allocations: 13.28 kB / 0.5899 GB, free: 26.66 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/0.5167, allocations: 0.5071 MB / 0.5903 GB, free: 26.65 MB / 462.1 MB 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.003603/0.5203, allocations: 3.208 MB / 0.5935 GB, free: 24.41 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007099/0.5211, allocations: 363.7 kB / 0.5938 GB, free: 24.38 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004896/0.5216, allocations: 243.1 kB / 0.5941 GB, free: 24.37 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002895/0.5219, allocations: 344.3 kB / 0.5944 GB, free: 24 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.5219, allocations: 41.19 kB / 0.5944 GB, free: 23.95 MB / 462.1 MB Notification: Performance of pre-optimization done (n=38): time 2.275e-06/0.5219, allocations: 2.625 kB / 0.5944 GB, free: 23.95 MB / 462.1 MB Notification: Performance of matching and sorting (n=38): time 0.002148/0.5241, allocations: 0.8645 MB / 0.5953 GB, free: 23.77 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.61e-05/0.5241, allocations: 54.72 kB / 0.5953 GB, free: 23.7 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007607/0.5249, allocations: 0.5847 MB / 0.5959 GB, free: 23.57 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.368e-05/0.5249, allocations: 35.14 kB / 0.5959 GB, free: 23.54 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002207/0.5251, allocations: 329.2 kB / 0.5962 GB, free: 23.38 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.252e-05/0.5253, allocations: 129.7 kB / 0.5964 GB, free: 23.3 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-05/0.5253, allocations: 14.78 kB / 0.5964 GB, free: 23.3 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.5255, allocations: 370.4 kB / 0.5967 GB, free: 22.98 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005399/0.526, allocations: 223.1 kB / 0.5969 GB, free: 22.98 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005802/0.5266, allocations: 374.8 kB / 0.5973 GB, free: 22.81 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005567/0.5272, allocations: 254.4 kB / 0.5975 GB, free: 22.8 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.5272, allocations: 1.25 kB / 0.5975 GB, free: 22.8 MB / 462.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00152/0.5287, allocations: 0.7309 MB / 0.5983 GB, free: 22.71 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001068/0.5288, allocations: 222.1 kB / 0.5985 GB, free: 22.46 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.5288, allocations: 5.625 kB / 0.5985 GB, free: 22.46 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005985/0.5294, allocations: 150.2 kB / 0.5986 GB, free: 22.44 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007118/0.5302, allocations: 157 kB / 0.5988 GB, free: 22.44 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006297/0.5308, allocations: 0.6273 MB / 0.5994 GB, free: 21.92 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006831/0.5315, allocations: 108.9 kB / 0.5995 GB, free: 21.88 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.229e-05/0.5316, allocations: 30.5 kB / 0.5995 GB, free: 21.88 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.586e-06/0.5316, allocations: 4.781 kB / 0.5995 GB, free: 21.88 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001286/0.5329, allocations: 0.6211 MB / 0.6001 GB, free: 21.86 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.5329, allocations: 5.188 kB / 0.6001 GB, free: 21.86 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.5329, allocations: 18.67 kB / 0.6002 GB, free: 21.86 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006288/0.5336, allocations: 161.3 kB / 0.6003 GB, free: 21.86 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/0.5336, allocations: 8.812 kB / 0.6003 GB, free: 21.86 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005763/0.5342, allocations: 93.59 kB / 0.6004 GB, free: 21.83 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.425e-05/0.5343, allocations: 30.22 kB / 0.6004 GB, free: 21.83 MB / 462.1 MB 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 (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003584/0.5346, allocations: 274.3 kB / 0.6007 GB, free: 21.64 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.5347, allocations: 65.83 kB / 0.6008 GB, free: 21.6 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001602/0.5363, allocations: 0.6755 MB / 0.6014 GB, free: 21.51 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.464e-05/0.5364, allocations: 5.562 kB / 0.6014 GB, free: 21.51 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.5364, allocations: 0.5625 kB / 0.6014 GB, free: 21.51 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.856e-06/0.5364, allocations: 2.391 kB / 0.6014 GB, free: 21.51 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002608/0.539, allocations: 1.4 MB / 0.6028 GB, free: 21.14 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.539, allocations: 1.406 kB / 0.6028 GB, free: 21.14 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003558/0.5394, allocations: 90.16 kB / 0.6029 GB, free: 21.14 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003877/0.5398, allocations: 134.8 kB / 0.603 GB, free: 21.12 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.694e-05/0.5398, allocations: 15.23 kB / 0.603 GB, free: 21.12 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005935/0.5404, allocations: 0.6361 MB / 0.6036 GB, free: 20.59 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.5405, allocations: 1.156 kB / 0.6036 GB, free: 20.59 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001309/0.5418, allocations: 0.7278 MB / 0.6044 GB, free: 20.38 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002604/0.542, allocations: 199.5 kB / 0.6045 GB, free: 20.24 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.618e-05/0.5421, allocations: 13.47 kB / 0.6046 GB, free: 20.24 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00044/0.5426, allocations: 51.56 kB / 0.6046 GB, free: 20.24 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.451e-05/0.5427, allocations: 39.25 kB / 0.6046 GB, free: 20.23 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.16e-05/0.5427, allocations: 23.2 kB / 0.6047 GB, free: 20.23 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005002/0.5432, allocations: 398 kB / 0.605 GB, free: 20.14 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5432, allocations: 1 kB / 0.605 GB, free: 20.14 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001301/0.5445, allocations: 391.4 kB / 0.6054 GB, free: 20.08 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.000602/0.5452, allocations: 291.8 kB / 0.6057 GB, free: 19.95 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001998/0.5472, allocations: 0.9124 MB / 0.6066 GB, free: 19.93 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.5472, allocations: 1.531 kB / 0.6066 GB, free: 19.93 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006861/0.5479, allocations: 302.7 kB / 0.6069 GB, free: 19.92 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001395/0.5493, allocations: 261.2 kB / 0.6071 GB, free: 19.91 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002058/0.5514, allocations: 1.301 MB / 0.6084 GB, free: 19.22 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005857/0.552, allocations: 0.9115 MB / 0.6093 GB, free: 18.52 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006865/0.5526, allocations: 153.4 kB / 0.6094 GB, free: 18.48 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001805/0.5528, allocations: 64.05 kB / 0.6095 GB, free: 18.47 MB / 462.1 MB Notification: Performance of SimCode: time 5.01e-07/0.5528, allocations: 0 / 0.6095 GB, free: 18.47 MB / 462.1 MB Notification: Performance of Templates: time 0.02579/0.5786, allocations: 11.75 MB / 0.621 GB, free: 14.29 MB / 462.1 MB 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)