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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.2/1.2, allocations: 251.5 MB / 266.7 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008819/0.000882, allocations: 176.8 kB / 325.8 MB, free: 2.688 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.201/1.201, allocations: 205 MB / 0.576 GB, free: 20.99 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000663/0.000663, allocations: 94.73 kB / 0.6797 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002587/0.0002587, allocations: 12.19 kB / 0.7933 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1324, allocations: 105.4 MB / 0.8962 GB, free: 68.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01112/0.1436, allocations: 19.26 MB / 0.915 GB, free: 48.8 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.007238/0.1508, allocations: 8.513 MB / 0.9233 GB, free: 40.27 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003005/0.1511, allocations: 27.75 kB / 0.9233 GB, free: 40.24 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0004334/0.1516, allocations: 206.7 kB / 0.9235 GB, free: 40.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0009541/0.1525, allocations: 0.7104 MB / 0.9242 GB, free: 39.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001133/0.1537, allocations: 0.7858 MB / 0.925 GB, free: 38.54 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001018/0.1547, allocations: 1.923 MB / 0.9269 GB, free: 36.61 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003389/0.1551, allocations: 437.3 kB / 0.9273 GB, free: 36.17 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004764/0.1555, allocations: 0.56 MB / 0.9278 GB, free: 35.61 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003503/0.1559, allocations: 0.5017 MB / 0.9283 GB, free: 35.11 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.659e-05/0.156, allocations: 32 kB / 0.9284 GB, free: 35.07 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006615/0.1566, allocations: 0.6588 MB / 0.929 GB, free: 34.41 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.506e-05/0.1567, allocations: 135.4 kB / 0.9291 GB, free: 34.28 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001788/0.1569, allocations: 342 kB / 0.9295 GB, free: 33.95 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006703/0.1576, allocations: 1.036 MB / 0.9305 GB, free: 32.91 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.1576, allocations: 0 / 0.9305 GB, free: 32.91 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1576, allocations: 0 / 0.9305 GB, free: 32.91 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.1576, allocations: 4 kB / 0.9305 GB, free: 32.9 MB / 0.6042 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.001172/0.1588, allocations: 0.9852 MB / 0.9314 GB, free: 31.86 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.907e-05/0.1588, allocations: 12.03 kB / 0.9315 GB, free: 31.85 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.152e-05/0.1589, allocations: 82.7 kB / 0.9315 GB, free: 31.76 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.514e-05/0.159, allocations: 80 kB / 0.9316 GB, free: 31.68 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004449/0.1595, allocations: 0.5064 MB / 0.9321 GB, free: 31.14 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.1595, allocations: 37 kB / 0.9321 GB, free: 31.1 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.504e-05/0.1595, allocations: 52 kB / 0.9322 GB, free: 31.05 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007267/0.1603, allocations: 0.6333 MB / 0.9328 GB, free: 30.35 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.1603, allocations: 0 / 0.9328 GB, free: 30.35 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.227e-05/0.1603, allocations: 24 kB / 0.9328 GB, free: 30.33 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.1603, allocations: 12 kB / 0.9328 GB, free: 30.32 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008199/0.1612, allocations: 0.5189 MB / 0.9334 GB, free: 29.8 MB / 0.6042 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.002109/0.1633, allocations: 3.197 MB / 0.9365 GB, free: 26.41 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005231/0.1638, allocations: 366.5 kB / 0.9368 GB, free: 26.04 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003653/0.1642, allocations: 242.5 kB / 0.9371 GB, free: 25.8 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001966/0.1644, allocations: 348.4 kB / 0.9374 GB, free: 25.39 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.478e-05/0.1644, allocations: 38.56 kB / 0.9374 GB, free: 25.34 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=38): time 1.433e-06/0.1644, allocations: 0 / 0.9374 GB, free: 25.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=38): time 0.001632/0.1661, allocations: 0.8611 MB / 0.9383 GB, free: 24.45 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.68e-05/0.1661, allocations: 59.41 kB / 0.9383 GB, free: 24.38 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004156/0.1665, allocations: 0.5821 MB / 0.9389 GB, free: 23.79 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/0.1665, allocations: 37.7 kB / 0.9389 GB, free: 23.74 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.1667, allocations: 324.4 kB / 0.9392 GB, free: 23.42 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.497e-05/0.1667, allocations: 134.1 kB / 0.9394 GB, free: 23.29 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.253e-05/0.1668, allocations: 57.69 kB / 0.9394 GB, free: 23.23 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.831e-05/0.1669, allocations: 370.7 kB / 0.9398 GB, free: 22.86 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003908/0.1673, allocations: 229.1 kB / 0.94 GB, free: 22.63 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004409/0.1677, allocations: 392 kB / 0.9404 GB, free: 22.19 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008126/0.1685, allocations: 0.594 MB / 0.9409 GB, free: 21.53 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.1685, allocations: 0 / 0.9409 GB, free: 21.53 MB / 0.6042 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001111/0.1697, allocations: 0.7539 MB / 0.9417 GB, free: 20.77 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.328e-05/0.1697, allocations: 219.1 kB / 0.9419 GB, free: 20.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.1697, allocations: 4 kB / 0.9419 GB, free: 20.49 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004835/0.1702, allocations: 156.7 kB / 0.942 GB, free: 20.33 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004389/0.1707, allocations: 147.8 kB / 0.9422 GB, free: 20.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003535/0.171, allocations: 0.6187 MB / 0.9428 GB, free: 19.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004403/0.1715, allocations: 107.3 kB / 0.9429 GB, free: 19.44 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.303e-05/0.1715, allocations: 32.05 kB / 0.9429 GB, free: 19.41 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.26e-06/0.1715, allocations: 6.656 kB / 0.9429 GB, free: 19.4 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009587/0.1725, allocations: 0.6267 MB / 0.9435 GB, free: 18.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.1725, allocations: 7.984 kB / 0.9435 GB, free: 18.77 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.009e-06/0.1725, allocations: 8.562 kB / 0.9436 GB, free: 18.76 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004789/0.173, allocations: 163.8 kB / 0.9437 GB, free: 18.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.173, allocations: 8 kB / 0.9437 GB, free: 18.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004081/0.1734, allocations: 95.47 kB / 0.9438 GB, free: 18.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.688e-05/0.1735, allocations: 27.98 kB / 0.9438 GB, free: 18.47 MB / 0.6042 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 (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.0001635/0.1737, allocations: 271.3 kB / 0.9441 GB, free: 18.2 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.689e-05/0.1737, allocations: 67.19 kB / 0.9442 GB, free: 18.13 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001139/0.1749, allocations: 0.6746 MB / 0.9448 GB, free: 17.44 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.1749, allocations: 4.094 kB / 0.9448 GB, free: 17.43 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.1749, allocations: 7.922 kB / 0.9448 GB, free: 17.43 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.1749, allocations: 3.984 kB / 0.9448 GB, free: 17.42 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001725/0.1766, allocations: 1.397 MB / 0.9462 GB, free: 15.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.1767, allocations: 4.094 kB / 0.9462 GB, free: 15.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002858/0.177, allocations: 87.89 kB / 0.9463 GB, free: 15.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003002/0.1773, allocations: 128.8 kB / 0.9464 GB, free: 15.73 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.475e-05/0.1773, allocations: 11.98 kB / 0.9464 GB, free: 15.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003882/0.1777, allocations: 0.6459 MB / 0.947 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1777, allocations: 0 / 0.947 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009785/0.1787, allocations: 0.728 MB / 0.9478 GB, free: 14.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001482/0.1788, allocations: 192.1 kB / 0.9479 GB, free: 14.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.505e-05/0.1789, allocations: 8 kB / 0.948 GB, free: 14.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003694/0.1793, allocations: 59.94 kB / 0.948 GB, free: 14.02 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.319e-05/0.1793, allocations: 27.95 kB / 0.948 GB, free: 14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.731e-05/0.1794, allocations: 20.06 kB / 0.9481 GB, free: 13.98 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002876/0.1797, allocations: 403.1 kB / 0.9484 GB, free: 13.59 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1797, allocations: 0 / 0.9484 GB, free: 13.59 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006948/0.1804, allocations: 387.4 kB / 0.9488 GB, free: 13.21 MB / 0.6042 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 (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.001475/0.1819, allocations: 1.464 MB / 0.9502 GB, free: 11.71 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001405/0.1833, allocations: 0.9058 MB / 0.9511 GB, free: 10.81 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1833, allocations: 4 kB / 0.9511 GB, free: 10.8 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000528/0.1838, allocations: 299.9 kB / 0.9514 GB, free: 10.51 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/0.185, allocations: 266.7 kB / 0.9517 GB, free: 10.25 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005517/0.1906, allocations: 5.724 MB / 0.9573 GB, free: 4.305 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002042/0.1908, allocations: 0.9077 MB / 0.9581 GB, free: 3.367 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0004361/0.1912, allocations: 156.5 kB / 0.9583 GB, free: 3.215 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002255/0.1915, allocations: 247.3 kB / 0.9585 GB, free: 2.973 MB / 0.6042 GB Notification: Performance of SimCode: time 2.6e-07/0.1915, allocations: 4 kB / 0.9585 GB, free: 2.969 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7399/0.9314, allocations: 17.77 MB / 0.9759 GB, free: 1.523 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002172/0.9317, allocations: 308.5 kB / 0.9762 GB, free: 1.145 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.652/3.584, allocations: 0 / 0.9762 GB, free: 1.145 MB / 0.6198 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)