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.475/1.475, allocations: 252 MB / 267.3 MB, free: 10.86 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.001176/0.001177, allocations: 174.5 kB / 327 MB, free: 2.129 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.729/1.729, allocations: 205.4 MB / 0.578 GB, free: 20.14 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.000734/0.0007337, allocations: 88.08 kB / 0.6826 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003743/0.0003744, allocations: 8.656 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2304/0.2308, allocations: 106.3 MB / 0.9009 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.02286/0.2538, allocations: 18.99 MB / 0.9195 GB, free: 44.39 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01656/0.2704, allocations: 8.417 MB / 0.9277 GB, free: 35.95 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001681/0.2721, allocations: 23.75 kB / 0.9277 GB, free: 35.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001133/0.2733, allocations: 210.7 kB / 0.9279 GB, free: 35.72 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.003561/0.2769, allocations: 0.6996 MB / 0.9286 GB, free: 35.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003348/0.2802, allocations: 0.7884 MB / 0.9294 GB, free: 34.24 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.003108/0.2834, allocations: 1.919 MB / 0.9312 GB, free: 32.31 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008892/0.2843, allocations: 444.7 kB / 0.9317 GB, free: 31.86 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001448/0.2857, allocations: 0.5562 MB / 0.9322 GB, free: 31.3 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009586/0.2867, allocations: 0.5056 MB / 0.9327 GB, free: 30.8 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.844e-05/0.2868, allocations: 28 kB / 0.9327 GB, free: 30.77 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00174/0.2886, allocations: 0.6549 MB / 0.9334 GB, free: 30.11 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001726/0.2888, allocations: 139.3 kB / 0.9335 GB, free: 29.98 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0004026/0.2892, allocations: 367.7 kB / 0.9338 GB, free: 29.61 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001471/0.2906, allocations: 1.032 MB / 0.9349 GB, free: 28.57 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.2907, allocations: 4 kB / 0.9349 GB, free: 28.57 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.557e-06/0.2907, allocations: 4 kB / 0.9349 GB, free: 28.57 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.067e-06/0.2907, allocations: 3.938 kB / 0.9349 GB, free: 28.56 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.002051/0.2928, allocations: 0.9814 MB / 0.9358 GB, free: 27.53 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.221e-05/0.2928, allocations: 12.03 kB / 0.9358 GB, free: 27.52 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001187/0.293, allocations: 82.7 kB / 0.9359 GB, free: 27.43 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001484/0.2931, allocations: 80 kB / 0.936 GB, free: 27.35 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007995/0.2939, allocations: 0.5025 MB / 0.9365 GB, free: 26.8 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.585e-05/0.294, allocations: 37 kB / 0.9365 GB, free: 26.77 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.658e-05/0.2941, allocations: 48 kB / 0.9366 GB, free: 26.72 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001257/0.2953, allocations: 0.6411 MB / 0.9372 GB, free: 26.02 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/0.2954, allocations: 3.938 kB / 0.9372 GB, free: 26.01 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.487e-05/0.2954, allocations: 24 kB / 0.9372 GB, free: 25.99 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.563e-05/0.2955, allocations: 12 kB / 0.9372 GB, free: 25.98 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001268/0.2967, allocations: 0.5112 MB / 0.9377 GB, free: 25.46 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.003619/0.3004, allocations: 3.197 MB / 0.9408 GB, free: 22.07 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008183/0.3012, allocations: 373.6 kB / 0.9412 GB, free: 21.7 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000566/0.3018, allocations: 239.2 kB / 0.9414 GB, free: 21.47 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003324/0.3021, allocations: 344.4 kB / 0.9418 GB, free: 21.06 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.3022, allocations: 42.64 kB / 0.9418 GB, free: 21.01 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=38): time 3.267e-06/0.3022, allocations: 3.938 kB / 0.9418 GB, free: 21 MB / 0.6042 GB Notification: Performance of matching and sorting (n=38): time 0.002659/0.3049, allocations: 0.8611 MB / 0.9426 GB, free: 20.11 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/0.3049, allocations: 55.41 kB / 0.9427 GB, free: 20.05 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007959/0.3057, allocations: 0.5782 MB / 0.9433 GB, free: 19.46 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.89e-05/0.3058, allocations: 37.7 kB / 0.9433 GB, free: 19.41 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002411/0.306, allocations: 328.4 kB / 0.9436 GB, free: 19.09 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.3061, allocations: 138.1 kB / 0.9437 GB, free: 18.95 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.069e-05/0.3062, allocations: 12 kB / 0.9438 GB, free: 18.94 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.3063, allocations: 374.7 kB / 0.9441 GB, free: 18.57 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006796/0.307, allocations: 225.2 kB / 0.9443 GB, free: 18.34 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008175/0.3078, allocations: 387.9 kB / 0.9447 GB, free: 17.91 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001467/0.3093, allocations: 0.5939 MB / 0.9453 GB, free: 17.25 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.3093, allocations: 0 / 0.9453 GB, free: 17.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002156/0.3115, allocations: 0.7495 MB / 0.946 GB, free: 16.49 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001333/0.3117, allocations: 223.7 kB / 0.9462 GB, free: 16.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/0.3117, allocations: 4 kB / 0.9462 GB, free: 16.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009253/0.3126, allocations: 160.7 kB / 0.9464 GB, free: 16.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008627/0.3135, allocations: 139.8 kB / 0.9465 GB, free: 15.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008519/0.3144, allocations: 0.6265 MB / 0.9471 GB, free: 15.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001166/0.3155, allocations: 103.3 kB / 0.9472 GB, free: 15.15 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001195/0.3157, allocations: 31.98 kB / 0.9473 GB, free: 15.12 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.3157, allocations: 4 kB / 0.9473 GB, free: 15.12 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001872/0.3176, allocations: 0.6269 MB / 0.9479 GB, free: 14.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.545e-05/0.3176, allocations: 8.047 kB / 0.9479 GB, free: 14.48 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.3177, allocations: 12 kB / 0.9479 GB, free: 14.47 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008841/0.3186, allocations: 159.8 kB / 0.948 GB, free: 14.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.988e-05/0.3186, allocations: 8.25 kB / 0.948 GB, free: 14.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/0.3196, allocations: 99.41 kB / 0.9481 GB, free: 14.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.415e-05/0.3198, allocations: 27.98 kB / 0.9482 GB, free: 14.18 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.0004392/0.3202, allocations: 269 kB / 0.9484 GB, free: 13.91 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002179/0.3204, allocations: 63.25 kB / 0.9485 GB, free: 13.85 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002242/0.3227, allocations: 0.671 MB / 0.9491 GB, free: 13.16 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.614e-05/0.3227, allocations: 7.938 kB / 0.9491 GB, free: 13.15 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/0.3228, allocations: 7.938 kB / 0.9492 GB, free: 13.14 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/0.3228, allocations: 3.984 kB / 0.9492 GB, free: 13.14 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003579/0.3264, allocations: 1.393 MB / 0.9505 GB, free: 11.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.217e-05/0.3264, allocations: 3.984 kB / 0.9505 GB, free: 11.67 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005226/0.3269, allocations: 91.97 kB / 0.9506 GB, free: 11.58 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005738/0.3275, allocations: 120.8 kB / 0.9507 GB, free: 11.46 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-05/0.3276, allocations: 16 kB / 0.9507 GB, free: 11.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007277/0.3283, allocations: 0.642 MB / 0.9514 GB, free: 10.78 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.3283, allocations: 0 / 0.9514 GB, free: 10.78 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001873/0.3302, allocations: 0.7397 MB / 0.9521 GB, free: 10.01 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004236/0.3307, allocations: 196.1 kB / 0.9523 GB, free: 9.801 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001732/0.3309, allocations: 8 kB / 0.9523 GB, free: 9.793 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008196/0.3317, allocations: 59.89 kB / 0.9523 GB, free: 9.734 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.3318, allocations: 27.95 kB / 0.9524 GB, free: 9.707 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.936e-05/0.3319, allocations: 19.98 kB / 0.9524 GB, free: 9.688 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0006746/0.3326, allocations: 399.1 kB / 0.9528 GB, free: 9.305 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.8e-07/0.3326, allocations: 0 / 0.9528 GB, free: 9.305 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001884/0.3345, allocations: 383.4 kB / 0.9531 GB, free: 8.93 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.003175/0.3377, allocations: 1.467 MB / 0.9546 GB, free: 7.426 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002599/0.3403, allocations: 0.9175 MB / 0.9555 GB, free: 6.512 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.3403, allocations: 0 / 0.9555 GB, free: 6.512 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007953/0.3411, allocations: 295.9 kB / 0.9557 GB, free: 6.223 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002024/0.3432, allocations: 285.8 kB / 0.956 GB, free: 5.953 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008431/0.3516, allocations: 5.75 MB / 0.9616 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005256/0.3522, allocations: 0.9 MB / 0.9625 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0008108/0.353, allocations: 156.1 kB / 0.9627 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004366/0.3535, allocations: 239.3 kB / 0.9629 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of SimCode: time 1.072e-06/0.3535, allocations: 4 kB / 0.9629 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04091/0.3944, allocations: 17.78 MB / 0.9803 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002885/0.3947, allocations: 306.2 kB / 0.9805 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.726/3.121, allocations: 0 / 0.9805 GB, free: 12.84 MB / 0.6355 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)