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.001359/0.001359, allocations: 106.7 kB / 15.98 MB, free: 6.355 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.001163/0.001163, allocations: 190.7 kB / 16.91 MB, free: 6.195 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.343/1.343, allocations: 222.9 MB / 240.6 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7947/0.7947, allocations: 122.9 MB / 413.6 MB, free: 12 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001595/0.001595, allocations: 59.91 kB / 0.4906 GB, free: 7.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3821/0.3837, allocations: 77.92 MB / 0.5667 GB, free: 32.76 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01721/0.401, allocations: 19.3 MB / 0.5855 GB, free: 18.97 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007784/0.4088, allocations: 5.125 MB / 0.5905 GB, free: 14.85 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001263/0.4101, allocations: 18.84 kB / 0.5906 GB, free: 14.84 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001064/0.4112, allocations: 222.2 kB / 0.5908 GB, free: 14.66 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002261/0.4135, allocations: 0.7088 MB / 0.5915 GB, free: 14.11 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002571/0.4161, allocations: 0.805 MB / 0.5922 GB, free: 13.56 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001799/0.4179, allocations: 1.537 MB / 0.5937 GB, free: 12.68 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00068/0.4186, allocations: 0.5042 MB / 0.5942 GB, free: 12.35 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001168/0.4198, allocations: 0.6406 MB / 0.5949 GB, free: 11.98 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007613/0.4206, allocations: 0.5374 MB / 0.5954 GB, free: 11.65 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001257/0.4207, allocations: 55.03 kB / 0.5954 GB, free: 11.65 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001422/0.4221, allocations: 0.6993 MB / 0.5961 GB, free: 11.26 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001358/0.4223, allocations: 165 kB / 0.5963 GB, free: 11.13 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003158/0.4226, allocations: 382.8 kB / 0.5966 GB, free: 10.88 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001329/0.4239, allocations: 1.08 MB / 0.5977 GB, free: 10.17 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.4239, allocations: 1.094 kB / 0.5977 GB, free: 10.17 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4239, allocations: 0 / 0.5977 GB, free: 10.17 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.424, allocations: 4 kB / 0.5977 GB, free: 10.16 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.001909/0.4259, allocations: 1.101 MB / 0.5988 GB, free: 9.281 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.4259, allocations: 9.469 kB / 0.5988 GB, free: 9.281 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001639/0.4261, allocations: 84.34 kB / 0.5989 GB, free: 9.238 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005999/0.4267, allocations: 0.5053 MB / 0.5994 GB, free: 8.793 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.706e-05/0.4268, allocations: 37.41 kB / 0.5994 GB, free: 8.777 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.485e-05/0.4268, allocations: 48.34 kB / 0.5994 GB, free: 8.762 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001064/0.4279, allocations: 0.6194 MB / 0.6001 GB, free: 8.305 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.4279, allocations: 3.938 kB / 0.6001 GB, free: 8.301 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.41e-05/0.428, allocations: 22 kB / 0.6001 GB, free: 8.285 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.472e-05/0.428, allocations: 12.41 kB / 0.6001 GB, free: 8.285 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009876/0.429, allocations: 495 kB / 0.6006 GB, free: 8.051 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.002574/0.4316, allocations: 3.205 MB / 0.6037 GB, free: 4.703 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005995/0.4322, allocations: 346.8 kB / 0.604 GB, free: 4.355 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003975/0.4326, allocations: 232.7 kB / 0.6042 GB, free: 4.125 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002895/0.4329, allocations: 344.4 kB / 0.6046 GB, free: 3.715 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.4329, allocations: 38.56 kB / 0.6046 GB, free: 3.668 MB / 446.1 MB Notification: Performance of pre-optimization done (n=38): time 1.894e-06/0.4329, allocations: 0 / 0.6046 GB, free: 3.668 MB / 446.1 MB Notification: Performance of matching and sorting (n=38): time 0.001867/0.4348, allocations: 0.8105 MB / 0.6054 GB, free: 2.828 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.4349, allocations: 59.34 kB / 0.6055 GB, free: 2.758 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000488/0.4354, allocations: 0.5861 MB / 0.606 GB, free: 2.16 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.608e-05/0.4354, allocations: 37.7 kB / 0.6061 GB, free: 2.117 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001513/0.4356, allocations: 324.5 kB / 0.6064 GB, free: 1.797 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.948e-05/0.4356, allocations: 134 kB / 0.6065 GB, free: 1.664 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001685/0.4358, allocations: 126.1 kB / 0.6066 GB, free: 1.535 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.574e-05/0.4359, allocations: 378.8 kB / 0.607 GB, free: 1.156 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000464/0.4364, allocations: 219.4 kB / 0.6072 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005054/0.4369, allocations: 372 kB / 0.6075 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009795/0.4379, allocations: 0.5666 MB / 0.6081 GB, free: 15.88 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.4379, allocations: 0 / 0.6081 GB, free: 15.88 MB / 462.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002286/0.4402, allocations: 0.7183 MB / 0.6088 GB, free: 15.15 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.998e-05/0.4402, allocations: 10.59 kB / 0.6088 GB, free: 15.14 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.4403, allocations: 4 kB / 0.6088 GB, free: 15.14 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007361/0.441, allocations: 140.8 kB / 0.609 GB, free: 15 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005614/0.4416, allocations: 139.8 kB / 0.6091 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000572/0.4422, allocations: 0.6187 MB / 0.6097 GB, free: 14.22 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006978/0.4429, allocations: 91.23 kB / 0.6098 GB, free: 14.13 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.145e-05/0.443, allocations: 36.05 kB / 0.6098 GB, free: 14.09 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006703/0.4437, allocations: 353.3 kB / 0.6101 GB, free: 13.75 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000612/0.4443, allocations: 364.8 kB / 0.6105 GB, free: 13.32 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001115/0.4454, allocations: 0.5549 MB / 0.611 GB, free: 12.71 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.394e-06/0.4454, allocations: 0 / 0.611 GB, free: 12.71 MB / 462.1 MB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001453/0.4469, allocations: 0.6745 MB / 0.6117 GB, free: 12.03 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.4469, allocations: 8 kB / 0.6117 GB, free: 12.02 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.4469, allocations: 4.562 kB / 0.6117 GB, free: 12.02 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.447, allocations: 12 kB / 0.6117 GB, free: 12 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006207/0.4476, allocations: 155.8 kB / 0.6119 GB, free: 11.85 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.4476, allocations: 11.94 kB / 0.6119 GB, free: 11.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006144/0.4482, allocations: 79.48 kB / 0.612 GB, free: 11.76 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001101/0.4483, allocations: 35.98 kB / 0.612 GB, free: 11.73 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.0002002/0.4486, allocations: 216 kB / 0.6122 GB, free: 11.51 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.4487, allocations: 71.14 kB / 0.6123 GB, free: 11.44 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001724/0.4504, allocations: 0.6389 MB / 0.6129 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-05/0.4504, allocations: 4 kB / 0.6129 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.4505, allocations: 3.938 kB / 0.6129 GB, free: 10.78 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.4505, allocations: 4 kB / 0.6129 GB, free: 10.78 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002779/0.4532, allocations: 1.371 MB / 0.6142 GB, free: 9.344 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.4533, allocations: 4 kB / 0.6142 GB, free: 9.34 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003687/0.4536, allocations: 87.97 kB / 0.6143 GB, free: 9.254 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003503/0.454, allocations: 104.8 kB / 0.6144 GB, free: 9.148 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.501e-05/0.4541, allocations: 12 kB / 0.6144 GB, free: 9.137 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006112/0.4547, allocations: 0.6343 MB / 0.6151 GB, free: 8.477 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.4547, allocations: 0 / 0.6151 GB, free: 8.477 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00133/0.456, allocations: 0.7006 MB / 0.6157 GB, free: 7.742 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002604/0.4563, allocations: 192.1 kB / 0.6159 GB, free: 7.535 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.065e-05/0.4564, allocations: 12 kB / 0.6159 GB, free: 7.523 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004638/0.4569, allocations: 51.84 kB / 0.616 GB, free: 7.473 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.409e-05/0.457, allocations: 27.97 kB / 0.616 GB, free: 7.445 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-05/0.457, allocations: 19.98 kB / 0.616 GB, free: 7.426 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004588/0.4575, allocations: 403.1 kB / 0.6164 GB, free: 7.039 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4575, allocations: 0 / 0.6164 GB, free: 7.039 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001131/0.4586, allocations: 387.4 kB / 0.6168 GB, free: 6.66 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.0007034/0.4593, allocations: 298.3 kB / 0.6171 GB, free: 6.371 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002209/0.4615, allocations: 0.8939 MB / 0.6179 GB, free: 5.48 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.4616, allocations: 0 / 0.6179 GB, free: 5.48 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006702/0.4622, allocations: 280.1 kB / 0.6182 GB, free: 5.207 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/0.4634, allocations: 242.8 kB / 0.6184 GB, free: 4.98 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002126/0.4656, allocations: 1.321 MB / 0.6197 GB, free: 3.621 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005117/0.4661, allocations: 0.9155 MB / 0.6206 GB, free: 2.676 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006011/0.4667, allocations: 153.8 kB / 0.6208 GB, free: 2.531 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001652/0.4669, allocations: 59.42 kB / 0.6208 GB, free: 2.473 MB / 462.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4669, allocations: 0 / 0.6208 GB, free: 2.473 MB / 462.1 MB Notification: Performance of Templates: time 0.0226/0.4895, allocations: 12.47 MB / 0.633 GB, free: 6.207 MB / 478.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)