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.001135/0.001135, allocations: 97.52 kB / 15.69 MB, free: 488 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.001896/0.001896, allocations: 170.8 kB / 16.57 MB, free: 6.391 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.43/1.43, allocations: 223.2 MB / 240.5 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6724/0.6724, allocations: 113.8 MB / 405.4 MB, free: 4.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004664/0.0004666, allocations: 12 kB / 493.1 MB, free: 8.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.1791, allocations: 77.15 MB / 0.5568 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01586/0.195, allocations: 16.29 MB / 0.5727 GB, free: 11.29 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006453/0.2015, allocations: 4.473 MB / 0.5771 GB, free: 6.805 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005789/0.2022, allocations: 11.88 kB / 0.5771 GB, free: 6.793 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007219/0.2029, allocations: 246.6 kB / 0.5774 GB, free: 6.551 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001951/0.2049, allocations: 0.8251 MB / 0.5782 GB, free: 5.727 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002092/0.207, allocations: 0.92 MB / 0.5791 GB, free: 4.82 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00129/0.2083, allocations: 0.9582 MB / 0.58 GB, free: 3.859 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000592/0.2089, allocations: 423.1 kB / 0.5804 GB, free: 3.434 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007764/0.2096, allocations: 0.5022 MB / 0.5809 GB, free: 2.93 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004733/0.2101, allocations: 406.3 kB / 0.5813 GB, free: 2.531 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.552e-05/0.2102, allocations: 32 kB / 0.5813 GB, free: 2.5 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001072/0.2113, allocations: 0.6357 MB / 0.5819 GB, free: 1.863 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.2114, allocations: 127.5 kB / 0.5821 GB, free: 1.738 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001235/0.2116, allocations: 149.3 kB / 0.5822 GB, free: 1.586 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008051/0.2124, allocations: 0.7446 MB / 0.5829 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.2124, allocations: 0 / 0.5829 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.198e-06/0.2124, allocations: 4 kB / 0.5829 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.283e-05/0.2124, allocations: 3.938 kB / 0.5829 GB, free: 0.832 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.292/0.5044, allocations: 0.9869 MB / 0.5839 GB, free: 34.62 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/0.5045, allocations: 13 kB / 0.5839 GB, free: 34.62 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002667/0.5048, allocations: 79.73 kB / 0.584 GB, free: 34.59 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009624/0.5057, allocations: 494.1 kB / 0.5845 GB, free: 34.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.97e-05/0.5058, allocations: 41.58 kB / 0.5845 GB, free: 34.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.501e-05/0.5059, allocations: 47.81 kB / 0.5845 GB, free: 34.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001165/0.5071, allocations: 0.6345 MB / 0.5852 GB, free: 34.13 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.5071, allocations: 0.8125 kB / 0.5852 GB, free: 34.13 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.702e-05/0.5071, allocations: 18.41 kB / 0.5852 GB, free: 34.13 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.743e-05/0.5072, allocations: 18.97 kB / 0.5852 GB, free: 34.12 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001247/0.5084, allocations: 0.5146 MB / 0.5857 GB, free: 34.11 MB / 446.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.004085/0.5125, allocations: 3.201 MB / 0.5888 GB, free: 31.87 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009132/0.5135, allocations: 359.9 kB / 0.5892 GB, free: 31.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003692/0.5138, allocations: 342.9 kB / 0.5895 GB, free: 31.38 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.5139, allocations: 37.36 kB / 0.5895 GB, free: 31.33 MB / 446.1 MB Notification: Performance of pre-optimization done (n=38): time 3.256e-06/0.5139, allocations: 0.8438 kB / 0.5895 GB, free: 31.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=38): time 0.002482/0.5164, allocations: 0.8697 MB / 0.5904 GB, free: 30.98 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.5164, allocations: 56.42 kB / 0.5904 GB, free: 30.92 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008611/0.5173, allocations: 0.5844 MB / 0.591 GB, free: 30.65 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.151e-05/0.5174, allocations: 39.14 kB / 0.591 GB, free: 30.61 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002647/0.5177, allocations: 327.1 kB / 0.5914 GB, free: 30.36 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000117/0.5178, allocations: 131.4 kB / 0.5915 GB, free: 30.26 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.877e-05/0.5178, allocations: 15.91 kB / 0.5915 GB, free: 30.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.518, allocations: 365.3 kB / 0.5918 GB, free: 29.91 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000562/0.5185, allocations: 222.2 kB / 0.5921 GB, free: 29.85 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005854/0.5191, allocations: 376.8 kB / 0.5924 GB, free: 29.61 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00057/0.5197, allocations: 251.2 kB / 0.5927 GB, free: 29.52 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.5197, allocations: 1.375 kB / 0.5927 GB, free: 29.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001676/0.5214, allocations: 0.7256 MB / 0.5934 GB, free: 29.24 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003288/0.5217, allocations: 1.753 MB / 0.5951 GB, free: 27.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/0.5218, allocations: 5.047 kB / 0.5951 GB, free: 27.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007094/0.5225, allocations: 146.9 kB / 0.5952 GB, free: 27.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000742/0.5232, allocations: 155.5 kB / 0.5954 GB, free: 27.33 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006065/0.5238, allocations: 0.633 MB / 0.596 GB, free: 26.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008675/0.5247, allocations: 100.8 kB / 0.5961 GB, free: 26.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.182e-05/0.5248, allocations: 34.78 kB / 0.5961 GB, free: 26.71 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.5248, allocations: 4.281 kB / 0.5961 GB, free: 26.71 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001361/0.5262, allocations: 0.6272 MB / 0.5967 GB, free: 26.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.5262, allocations: 4.5 kB / 0.5967 GB, free: 26.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.5263, allocations: 8.094 kB / 0.5967 GB, free: 26.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000646/0.5269, allocations: 168.4 kB / 0.5969 GB, free: 26.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.5269, allocations: 8.328 kB / 0.5969 GB, free: 26.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000688/0.5276, allocations: 93.38 kB / 0.597 GB, free: 26.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.989e-05/0.5277, allocations: 30.17 kB / 0.597 GB, free: 26.43 MB / 446.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.0003752/0.5281, allocations: 269.9 kB / 0.5973 GB, free: 26.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/0.5282, allocations: 65.66 kB / 0.5974 GB, free: 26.16 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001621/0.5298, allocations: 0.675 MB / 0.598 GB, free: 25.89 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-05/0.5298, allocations: 5.109 kB / 0.598 GB, free: 25.89 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.5299, allocations: 0 / 0.598 GB, free: 25.89 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.5299, allocations: 3.234 kB / 0.598 GB, free: 25.89 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002735/0.5326, allocations: 1.4 MB / 0.5994 GB, free: 25.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/0.5326, allocations: 9.531 kB / 0.5994 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003892/0.533, allocations: 92 kB / 0.5995 GB, free: 25.17 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004512/0.5335, allocations: 129.3 kB / 0.5996 GB, free: 25.14 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.786e-05/0.5335, allocations: 12.78 kB / 0.5996 GB, free: 25.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000531/0.5341, allocations: 0.6316 MB / 0.6002 GB, free: 24.58 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.5341, allocations: 1.156 kB / 0.6002 GB, free: 24.58 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001412/0.5355, allocations: 0.7585 MB / 0.601 GB, free: 24.16 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003129/0.5358, allocations: 209.6 kB / 0.6012 GB, free: 23.99 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.699e-05/0.5359, allocations: 12.52 kB / 0.6012 GB, free: 23.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004978/0.5364, allocations: 51.47 kB / 0.6012 GB, free: 23.97 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.78e-05/0.5365, allocations: 42.06 kB / 0.6013 GB, free: 23.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.935e-05/0.5366, allocations: 18.92 kB / 0.6013 GB, free: 23.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005509/0.5372, allocations: 398.6 kB / 0.6017 GB, free: 23.78 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5372, allocations: 0.5625 kB / 0.6017 GB, free: 23.78 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001532/0.5387, allocations: 388.4 kB / 0.602 GB, free: 23.71 MB / 446.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.0008103/0.5395, allocations: 308.1 kB / 0.6023 GB, free: 23.59 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002464/0.542, allocations: 0.9151 MB / 0.6032 GB, free: 23.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.542, allocations: 0 / 0.6032 GB, free: 23.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007392/0.5428, allocations: 303.8 kB / 0.6035 GB, free: 23.24 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001504/0.5443, allocations: 253.8 kB / 0.6038 GB, free: 23.18 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002082/0.5464, allocations: 1.307 MB / 0.605 GB, free: 22.39 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004958/0.5469, allocations: 0.9264 MB / 0.6059 GB, free: 21.67 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007562/0.5477, allocations: 155.2 kB / 0.6061 GB, free: 21.64 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001982/0.5479, allocations: 60.97 kB / 0.6062 GB, free: 21.62 MB / 446.1 MB Notification: Performance of SimCode: time 1.814e-06/0.5479, allocations: 0 / 0.6062 GB, free: 21.62 MB / 446.1 MB Notification: Performance of Templates: time 0.02576/0.5736, allocations: 11.73 MB / 0.6176 GB, free: 16.94 MB / 446.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)