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.0009063/0.0009062, allocations: 98.58 kB / 16.02 MB, free: 80 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.001147/0.001147, allocations: 180 kB / 16.92 MB, free: 6.922 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.455/1.455, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7237/0.7237, allocations: 115.5 MB / 407.6 MB, free: 2.711 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002935/0.0002935, allocations: 8 kB / 495.9 MB, free: 6.383 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.151, allocations: 77.53 MB / 0.5599 GB, free: 9.062 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01893/0.17, allocations: 18.74 MB / 0.5782 GB, free: 6.254 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007492/0.1775, allocations: 5.118 MB / 0.5832 GB, free: 1.117 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009181/0.1785, allocations: 15.88 kB / 0.5833 GB, free: 1.102 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007866/0.1793, allocations: 210.7 kB / 0.5835 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002225/0.1815, allocations: 0.7113 MB / 0.5842 GB, free: 184 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.3317/0.5132, allocations: 0.7825 MB / 0.5849 GB, free: 11.2 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003587/0.5169, allocations: 1.938 MB / 0.5868 GB, free: 11.2 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009608/0.5178, allocations: 440 kB / 0.5872 GB, free: 11.15 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001513/0.5194, allocations: 0.5608 MB / 0.5878 GB, free: 11.15 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009319/0.5203, allocations: 0.5177 MB / 0.5883 GB, free: 11.11 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.711e-05/0.5204, allocations: 27.72 kB / 0.5883 GB, free: 11.11 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001601/0.522, allocations: 0.6579 MB / 0.589 GB, free: 11.11 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001946/0.5222, allocations: 133 kB / 0.5891 GB, free: 11.08 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004374/0.5227, allocations: 374.4 kB / 0.5894 GB, free: 10.94 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001613/0.5243, allocations: 1.045 MB / 0.5905 GB, free: 10.81 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.5243, allocations: 9.312 kB / 0.5905 GB, free: 10.8 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.5243, allocations: 3.656 kB / 0.5905 GB, free: 10.8 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.185e-05/0.5243, allocations: 0 / 0.5905 GB, free: 10.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.002159/0.5265, allocations: 0.9829 MB / 0.5914 GB, free: 26.16 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.5266, allocations: 13.22 kB / 0.5914 GB, free: 26.16 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001532/0.5267, allocations: 88.8 kB / 0.5915 GB, free: 26.11 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007089/0.5274, allocations: 0.4958 MB / 0.592 GB, free: 25.83 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.864e-05/0.5275, allocations: 39 kB / 0.5921 GB, free: 25.83 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.552e-05/0.5276, allocations: 51.44 kB / 0.5921 GB, free: 25.82 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001172/0.5287, allocations: 0.6352 MB / 0.5927 GB, free: 25.64 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.5288, allocations: 4.844 kB / 0.5927 GB, free: 25.64 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.845e-05/0.5288, allocations: 21.89 kB / 0.5927 GB, free: 25.64 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.656e-05/0.5289, allocations: 11.47 kB / 0.5928 GB, free: 25.64 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001157/0.53, allocations: 0.5162 MB / 0.5933 GB, free: 25.62 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.003502/0.5335, allocations: 3.206 MB / 0.5964 GB, free: 23.39 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007339/0.5343, allocations: 356.5 kB / 0.5967 GB, free: 23.36 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005463/0.5348, allocations: 243.9 kB / 0.597 GB, free: 23.35 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003246/0.5352, allocations: 349 kB / 0.5973 GB, free: 22.97 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.5352, allocations: 41.52 kB / 0.5973 GB, free: 22.93 MB / 462.1 MB Notification: Performance of pre-optimization done (n=38): time 2.605e-06/0.5352, allocations: 4 kB / 0.5973 GB, free: 22.93 MB / 462.1 MB Notification: Performance of matching and sorting (n=38): time 0.002976/0.5382, allocations: 0.8669 MB / 0.5982 GB, free: 22.74 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.276e-05/0.5383, allocations: 56.28 kB / 0.5982 GB, free: 22.68 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001219/0.5395, allocations: 0.5824 MB / 0.5988 GB, free: 22.54 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.873e-05/0.5396, allocations: 34.8 kB / 0.5988 GB, free: 22.51 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003636/0.5399, allocations: 328.5 kB / 0.5992 GB, free: 22.36 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001436/0.5401, allocations: 131.2 kB / 0.5993 GB, free: 22.27 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001308/0.5402, allocations: 68.08 kB / 0.5993 GB, free: 22.25 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002484/0.5405, allocations: 371.1 kB / 0.5997 GB, free: 21.94 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006088/0.5411, allocations: 221.1 kB / 0.5999 GB, free: 21.94 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006944/0.5418, allocations: 391.6 kB / 0.6003 GB, free: 21.77 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001209/0.543, allocations: 0.5941 MB / 0.6009 GB, free: 21.59 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.692e-06/0.543, allocations: 1.281 kB / 0.6009 GB, free: 21.59 MB / 462.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001873/0.5449, allocations: 0.7554 MB / 0.6016 GB, free: 21.5 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001508/0.5451, allocations: 219.1 kB / 0.6018 GB, free: 21.25 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/0.5451, allocations: 8.031 kB / 0.6018 GB, free: 21.25 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007867/0.5459, allocations: 161.8 kB / 0.602 GB, free: 21.23 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005942/0.5465, allocations: 143.4 kB / 0.6021 GB, free: 21.23 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006228/0.5471, allocations: 0.6264 MB / 0.6027 GB, free: 20.71 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009998/0.5482, allocations: 100.4 kB / 0.6028 GB, free: 20.68 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001172/0.5483, allocations: 29.86 kB / 0.6028 GB, free: 20.68 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.5483, allocations: 7.906 kB / 0.6029 GB, free: 20.67 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001944/0.5503, allocations: 0.626 MB / 0.6035 GB, free: 20.65 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-05/0.5503, allocations: 5.844 kB / 0.6035 GB, free: 20.65 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.52e-05/0.5503, allocations: 7.453 kB / 0.6035 GB, free: 20.65 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007975/0.5511, allocations: 159.7 kB / 0.6036 GB, free: 20.65 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.696e-05/0.5512, allocations: 8.562 kB / 0.6036 GB, free: 20.65 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001063/0.5522, allocations: 95.94 kB / 0.6037 GB, free: 20.62 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/0.5524, allocations: 34.03 kB / 0.6038 GB, free: 20.62 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 (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.0007603/0.5531, allocations: 277 kB / 0.604 GB, free: 20.42 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002865/0.5534, allocations: 65.75 kB / 0.6041 GB, free: 20.39 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002068/0.5555, allocations: 0.6721 MB / 0.6047 GB, free: 20.31 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.757e-05/0.5555, allocations: 4.625 kB / 0.6048 GB, free: 20.31 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.956e-06/0.5556, allocations: 1.781 kB / 0.6048 GB, free: 20.31 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.5556, allocations: 6.062 kB / 0.6048 GB, free: 20.3 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003634/0.5592, allocations: 1.415 MB / 0.6061 GB, free: 19.92 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.094e-05/0.5592, allocations: 2.031 kB / 0.6061 GB, free: 19.92 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003874/0.5596, allocations: 89.77 kB / 0.6062 GB, free: 19.92 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004787/0.5601, allocations: 130.5 kB / 0.6064 GB, free: 19.91 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.511e-05/0.5602, allocations: 12.3 kB / 0.6064 GB, free: 19.91 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006653/0.5609, allocations: 0.6397 MB / 0.607 GB, free: 19.38 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.5609, allocations: 1.672 kB / 0.607 GB, free: 19.38 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001655/0.5625, allocations: 0.7315 MB / 0.6077 GB, free: 19.16 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004576/0.563, allocations: 201.8 kB / 0.6079 GB, free: 19.02 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002005/0.5632, allocations: 11 kB / 0.6079 GB, free: 19.02 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006558/0.5639, allocations: 63.58 kB / 0.608 GB, free: 19.01 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.564, allocations: 30.39 kB / 0.608 GB, free: 19.01 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.76e-05/0.5641, allocations: 14.69 kB / 0.608 GB, free: 19.01 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007613/0.5648, allocations: 408.6 kB / 0.6084 GB, free: 18.92 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.5648, allocations: 0 / 0.6084 GB, free: 18.92 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001981/0.5668, allocations: 387.5 kB / 0.6088 GB, free: 18.86 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 (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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009338/0.5678, allocations: 294.2 kB / 0.6091 GB, free: 18.73 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002389/0.5702, allocations: 0.9135 MB / 0.6099 GB, free: 18.54 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.5702, allocations: 0 / 0.6099 GB, free: 18.54 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007773/0.571, allocations: 301.8 kB / 0.6102 GB, free: 18.47 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001856/0.5728, allocations: 267 kB / 0.6105 GB, free: 18.41 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002483/0.5753, allocations: 1.337 MB / 0.6118 GB, free: 17.57 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009125/0.5763, allocations: 0.9137 MB / 0.6127 GB, free: 16.86 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001011/0.5773, allocations: 146.8 kB / 0.6128 GB, free: 16.82 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002547/0.5776, allocations: 61.56 kB / 0.6129 GB, free: 16.82 MB / 462.1 MB Notification: Performance of SimCode: time 1.984e-06/0.5776, allocations: 3.938 kB / 0.6129 GB, free: 16.81 MB / 462.1 MB Notification: Performance of Templates: time 0.02656/0.6041, allocations: 12.21 MB / 0.6248 GB, free: 11.65 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)