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.433/1.433, allocations: 252 MB / 267 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.001014/0.001014, allocations: 193.1 kB / 326.6 MB, free: 2.25 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.941/1.941, allocations: 205.4 MB / 0.5776 GB, free: 20.54 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.0007944/0.0007946, allocations: 91.98 kB / 0.6823 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000454/0.0004541, allocations: 9.125 kB / 0.7965 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.2776, allocations: 106.3 MB / 0.9003 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01442/0.2921, allocations: 18 MB / 0.9179 GB, free: 46.3 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01006/0.3022, allocations: 7.685 MB / 0.9254 GB, free: 38.6 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001164/0.3034, allocations: 27.75 kB / 0.9254 GB, free: 38.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0007377/0.3042, allocations: 190.7 kB / 0.9256 GB, free: 38.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001947/0.3061, allocations: 0.6176 MB / 0.9262 GB, free: 37.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002042/0.3082, allocations: 0.7262 MB / 0.9269 GB, free: 37.05 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001664/0.3098, allocations: 1.673 MB / 0.9286 GB, free: 35.37 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005793/0.3104, allocations: 411.1 kB / 0.9289 GB, free: 34.95 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007687/0.3112, allocations: 0.529 MB / 0.9295 GB, free: 34.42 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004959/0.3117, allocations: 489.9 kB / 0.9299 GB, free: 33.94 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.821e-05/0.3118, allocations: 28 kB / 0.93 GB, free: 33.91 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001157/0.313, allocations: 0.6003 MB / 0.9305 GB, free: 33.31 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001441/0.3131, allocations: 127.4 kB / 0.9307 GB, free: 33.18 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001469/0.3133, allocations: 153.3 kB / 0.9308 GB, free: 33.03 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006828/0.314, allocations: 0.7326 MB / 0.9315 GB, free: 32.29 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.314, allocations: 0 / 0.9315 GB, free: 32.29 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.815e-06/0.314, allocations: 3.984 kB / 0.9315 GB, free: 32.29 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.258e-06/0.314, allocations: 0 / 0.9315 GB, free: 32.29 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.001705/0.3157, allocations: 0.9928 MB / 0.9325 GB, free: 31.24 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.3158, allocations: 8.031 kB / 0.9325 GB, free: 31.23 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.71e-05/0.3159, allocations: 82.53 kB / 0.9326 GB, free: 31.14 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001147/0.316, allocations: 83.05 kB / 0.9327 GB, free: 31.06 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006388/0.3166, allocations: 486.6 kB / 0.9331 GB, free: 30.55 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.253e-05/0.3167, allocations: 37 kB / 0.9332 GB, free: 30.51 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.577e-05/0.3168, allocations: 52 kB / 0.9332 GB, free: 30.46 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009449/0.3177, allocations: 0.6387 MB / 0.9338 GB, free: 29.76 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.3177, allocations: 0 / 0.9338 GB, free: 29.76 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.302e-05/0.3178, allocations: 24 kB / 0.9339 GB, free: 29.73 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.3178, allocations: 12 kB / 0.9339 GB, free: 29.72 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009772/0.3188, allocations: 0.5151 MB / 0.9344 GB, free: 29.21 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.002818/0.3216, allocations: 3.201 MB / 0.9375 GB, free: 25.81 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006015/0.3222, allocations: 357.5 kB / 0.9378 GB, free: 25.46 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004532/0.3227, allocations: 244.7 kB / 0.9381 GB, free: 25.21 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002574/0.323, allocations: 344.4 kB / 0.9384 GB, free: 24.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.323, allocations: 42.56 kB / 0.9384 GB, free: 24.75 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=38): time 1.503e-06/0.323, allocations: 0 / 0.9384 GB, free: 24.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=38): time 0.001956/0.325, allocations: 0.8621 MB / 0.9393 GB, free: 23.86 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.959e-05/0.325, allocations: 63.28 kB / 0.9393 GB, free: 23.79 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005235/0.3256, allocations: 0.5705 MB / 0.9399 GB, free: 23.21 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.852e-05/0.3256, allocations: 33.7 kB / 0.9399 GB, free: 23.17 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001992/0.3258, allocations: 328.4 kB / 0.9402 GB, free: 22.84 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.361e-05/0.3259, allocations: 138 kB / 0.9404 GB, free: 22.71 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.628e-05/0.3259, allocations: 12 kB / 0.9404 GB, free: 22.7 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.326, allocations: 370.8 kB / 0.9407 GB, free: 22.32 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004814/0.3265, allocations: 221.2 kB / 0.941 GB, free: 22.11 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005008/0.327, allocations: 372 kB / 0.9413 GB, free: 21.69 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004765/0.3275, allocations: 252.7 kB / 0.9415 GB, free: 21.44 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.3275, allocations: 4 kB / 0.9416 GB, free: 21.44 MB / 0.6042 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001288/0.3288, allocations: 0.7267 MB / 0.9423 GB, free: 20.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.525e-05/0.3289, allocations: 231 kB / 0.9425 GB, free: 20.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.3289, allocations: 4 kB / 0.9425 GB, free: 20.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005714/0.3295, allocations: 144.7 kB / 0.9426 GB, free: 20.26 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006079/0.3301, allocations: 155.8 kB / 0.9428 GB, free: 20.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005598/0.3307, allocations: 0.6343 MB / 0.9434 GB, free: 19.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005858/0.3313, allocations: 97.39 kB / 0.9435 GB, free: 19.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.377e-05/0.3314, allocations: 35.94 kB / 0.9435 GB, free: 19.32 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.704e-06/0.3314, allocations: 4 kB / 0.9435 GB, free: 19.32 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00111/0.3325, allocations: 0.6189 MB / 0.9441 GB, free: 18.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.3325, allocations: 4.562 kB / 0.9441 GB, free: 18.69 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.023e-06/0.3325, allocations: 8 kB / 0.9441 GB, free: 18.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00055/0.3331, allocations: 167.8 kB / 0.9443 GB, free: 18.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.3331, allocations: 15.92 kB / 0.9443 GB, free: 18.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005095/0.3336, allocations: 83.55 kB / 0.9444 GB, free: 18.42 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-05/0.3337, allocations: 27.98 kB / 0.9444 GB, free: 18.39 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 (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.0002891/0.334, allocations: 268.9 kB / 0.9447 GB, free: 18.12 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.845e-05/0.3341, allocations: 71.11 kB / 0.9447 GB, free: 18.05 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001389/0.3355, allocations: 0.6736 MB / 0.9454 GB, free: 17.37 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.304e-05/0.3355, allocations: 7.984 kB / 0.9454 GB, free: 17.36 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.3355, allocations: 0 / 0.9454 GB, free: 17.36 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.3355, allocations: 7.984 kB / 0.9454 GB, free: 17.35 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002166/0.3377, allocations: 1.397 MB / 0.9468 GB, free: 15.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.3377, allocations: 0 / 0.9468 GB, free: 15.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003299/0.338, allocations: 91.88 kB / 0.9469 GB, free: 15.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004437/0.3385, allocations: 132.8 kB / 0.947 GB, free: 15.66 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.675e-05/0.3386, allocations: 19.98 kB / 0.947 GB, free: 15.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005129/0.3391, allocations: 0.6343 MB / 0.9476 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.3391, allocations: 0 / 0.9476 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/0.3402, allocations: 0.7244 MB / 0.9483 GB, free: 14.22 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001995/0.3404, allocations: 196.1 kB / 0.9485 GB, free: 14.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.107e-05/0.3405, allocations: 8 kB / 0.9485 GB, free: 14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004223/0.341, allocations: 55.94 kB / 0.9486 GB, free: 13.95 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.756e-05/0.341, allocations: 31.95 kB / 0.9486 GB, free: 13.92 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.239e-05/0.3411, allocations: 12 kB / 0.9486 GB, free: 13.91 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003646/0.3415, allocations: 399.1 kB / 0.949 GB, free: 13.52 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3415, allocations: 0 / 0.949 GB, free: 13.52 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00103/0.3425, allocations: 387.3 kB / 0.9494 GB, free: 13.14 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 (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.001808/0.3443, allocations: 1.462 MB / 0.9508 GB, free: 11.66 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00181/0.3461, allocations: 0.9252 MB / 0.9517 GB, free: 10.73 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.3461, allocations: 0 / 0.9517 GB, free: 10.73 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006242/0.3468, allocations: 291.9 kB / 0.952 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001358/0.3481, allocations: 276.8 kB / 0.9523 GB, free: 10.18 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005109/0.3533, allocations: 3.753 MB / 0.9559 GB, free: 6.301 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002887/0.3536, allocations: 0.9116 MB / 0.9568 GB, free: 5.359 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0006312/0.3542, allocations: 155.2 kB / 0.957 GB, free: 5.207 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003194/0.3545, allocations: 251.3 kB / 0.9572 GB, free: 4.965 MB / 0.6042 GB Notification: Performance of SimCode: time 8.81e-07/0.3546, allocations: 0 / 0.9572 GB, free: 4.965 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03617/0.3907, allocations: 17.8 MB / 0.9746 GB, free: 3.504 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002266/0.391, allocations: 289.3 kB / 0.9749 GB, free: 3.141 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.659/3.05, allocations: 0 / 0.9749 GB, free: 3.141 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)