Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.001075/0.001075, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.000915/0.0009151, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.688/1.688, allocations: 205.4 MB / 222.1 MB, free: 5.891 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.699/1.699, allocations: 252 MB / 0.5102 GB, free: 4.871 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006115/0.0006116, allocations: 16 kB / 0.6243 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6475/0.6481, allocations: 106.3 MB / 0.7281 GB, free: 11.58 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01932/0.6675, allocations: 17.99 MB / 0.7457 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01219/0.6798, allocations: 7.697 MB / 0.7532 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009375/0.6807, allocations: 19.81 kB / 0.7532 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007256/0.6815, allocations: 194.7 kB / 0.7534 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001868/0.6834, allocations: 0.6122 MB / 0.754 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002254/0.6856, allocations: 0.7461 MB / 0.7547 GB, free: 260 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002081/0.6877, allocations: 1.665 MB / 0.7564 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000603/0.6883, allocations: 415.2 kB / 0.7568 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008512/0.6892, allocations: 0.5251 MB / 0.7573 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005991/0.6898, allocations: 497.9 kB / 0.7578 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.657e-05/0.6899, allocations: 28 kB / 0.7578 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001055/0.691, allocations: 0.6002 MB / 0.7584 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000142/0.6911, allocations: 123.4 kB / 0.7585 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001357/0.6912, allocations: 149.3 kB / 0.7586 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008647/0.6921, allocations: 0.7442 MB / 0.7594 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.6921, allocations: 0 / 0.7594 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.733e-06/0.6921, allocations: 0 / 0.7594 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.676e-06/0.6922, allocations: 0 / 0.7594 GB, free: 11.5 MB / 0.5762 GB 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.001787/0.694, allocations: 0.9889 MB / 0.7603 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.694, allocations: 12.03 kB / 0.7603 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000144/0.6942, allocations: 79.06 kB / 0.7604 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006861/0.6949, allocations: 490.6 kB / 0.7609 GB, free: 9.844 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.465e-05/0.6949, allocations: 41 kB / 0.7609 GB, free: 9.805 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.511e-05/0.695, allocations: 44 kB / 0.761 GB, free: 9.762 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/0.696, allocations: 0.6372 MB / 0.7616 GB, free: 9.059 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.142e-05/0.6961, allocations: 7.938 kB / 0.7616 GB, free: 9.051 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.572e-05/0.6961, allocations: 19.94 kB / 0.7616 GB, free: 9.031 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.382e-05/0.6961, allocations: 12 kB / 0.7616 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/0.6972, allocations: 0.5112 MB / 0.7621 GB, free: 8.508 MB / 0.5762 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.003549/0.7007, allocations: 3.193 MB / 0.7652 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006713/0.7014, allocations: 354.8 kB / 0.7656 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004546/0.7019, allocations: 236.8 kB / 0.7658 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003764/0.7023, allocations: 352.4 kB / 0.7661 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.913e-05/0.7023, allocations: 30.56 kB / 0.7662 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=38): time 1.834e-06/0.7023, allocations: 0 / 0.7662 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of matching and sorting (n=38): time 0.002039/0.7044, allocations: 0.8736 MB / 0.767 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.826e-05/0.7044, allocations: 59.41 kB / 0.7671 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006768/0.7051, allocations: 0.5666 MB / 0.7676 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.105e-05/0.7052, allocations: 37.7 kB / 0.7677 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002477/0.7054, allocations: 328.4 kB / 0.768 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001158/0.7056, allocations: 134 kB / 0.7681 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-05/0.7056, allocations: 12 kB / 0.7681 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.7058, allocations: 370.8 kB / 0.7685 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004615/0.7062, allocations: 217.2 kB / 0.7687 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006121/0.7069, allocations: 384 kB / 0.769 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005066/0.7074, allocations: 256.7 kB / 0.7693 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.7074, allocations: 0 / 0.7693 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001497/0.7089, allocations: 0.7262 MB / 0.77 GB, free: 4 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.000247/0.7092, allocations: 223.6 kB / 0.7702 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.7092, allocations: 4 kB / 0.7702 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005778/0.7098, allocations: 160.7 kB / 0.7704 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006338/0.7104, allocations: 155.8 kB / 0.7705 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000777/0.7112, allocations: 0.6342 MB / 0.7711 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006128/0.7118, allocations: 99.39 kB / 0.7712 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.515e-05/0.7119, allocations: 35.98 kB / 0.7713 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.7119, allocations: 7.953 kB / 0.7713 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001253/0.7132, allocations: 0.6267 MB / 0.7719 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.7132, allocations: 4 kB / 0.7719 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.7132, allocations: 8 kB / 0.7719 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005776/0.7138, allocations: 156.3 kB / 0.772 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.7138, allocations: 12 kB / 0.7721 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004966/0.7143, allocations: 87.53 kB / 0.7721 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.301e-05/0.7144, allocations: 35.98 kB / 0.7722 GB, free: 13.68 MB / 0.5919 GB 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.0004071/0.7148, allocations: 268.9 kB / 0.7724 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.7149, allocations: 67.11 kB / 0.7725 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001471/0.7164, allocations: 0.6666 MB / 0.7731 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.498e-05/0.7164, allocations: 8 kB / 0.7732 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.7165, allocations: 0 / 0.7732 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.298e-06/0.7165, allocations: 3.984 kB / 0.7732 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002329/0.7188, allocations: 1.401 MB / 0.7745 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.573e-06/0.7188, allocations: 7.922 kB / 0.7745 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003403/0.7192, allocations: 87.98 kB / 0.7746 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003904/0.7196, allocations: 132.8 kB / 0.7747 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.182e-05/0.7196, allocations: 11.98 kB / 0.7748 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006161/0.7202, allocations: 0.6304 MB / 0.7754 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.7203, allocations: 7.922 kB / 0.7754 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001266/0.7215, allocations: 0.7243 MB / 0.7761 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002497/0.7218, allocations: 200.1 kB / 0.7763 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.254e-05/0.7219, allocations: 4 kB / 0.7763 GB, free: 9.301 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004047/0.7223, allocations: 55.95 kB / 0.7763 GB, free: 9.246 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.112e-05/0.7224, allocations: 31.95 kB / 0.7764 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.819e-05/0.7224, allocations: 24.05 kB / 0.7764 GB, free: 9.191 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004635/0.7229, allocations: 391.1 kB / 0.7768 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7229, allocations: 0 / 0.7768 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001124/0.724, allocations: 387.3 kB / 0.7771 GB, free: 8.438 MB / 0.5919 GB 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.0006757/0.7247, allocations: 301.7 kB / 0.7774 GB, free: 8.145 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001974/0.7267, allocations: 0.9097 MB / 0.7783 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.7267, allocations: 4 kB / 0.7783 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006616/0.7274, allocations: 295.9 kB / 0.7786 GB, free: 6.945 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001421/0.7288, allocations: 283.8 kB / 0.7789 GB, free: 6.672 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002044/0.7309, allocations: 1.276 MB / 0.7801 GB, free: 5.367 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005098/0.7314, allocations: 0.9116 MB / 0.781 GB, free: 4.426 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006194/0.732, allocations: 155.4 kB / 0.7811 GB, free: 4.281 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000172/0.7322, allocations: 63.42 kB / 0.7812 GB, free: 4.219 MB / 0.5919 GB Notification: Performance of SimCode: time 7.51e-07/0.7322, allocations: 0 / 0.7812 GB, free: 4.219 MB / 0.5919 GB Notification: Performance of Templates: time 0.02204/0.7543, allocations: 11.8 MB / 0.7927 GB, free: 8.578 MB / 0.6075 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1) Environment - environmentSimulation: