Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.637/2.637, allocations: 287.5 MB / 302.4 MB, free: 8.215 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001336/0.001335, allocations: 178.3 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.266/2.266, allocations: 205.4 MB / 0.6297 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009265/0.0009263, allocations: 85.12 kB / 0.743 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005141/0.0005144, allocations: 12.94 kB / 0.8659 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2189/0.2195, allocations: 115.3 MB / 0.9785 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.02859/0.2482, allocations: 17.99 MB / 0.996 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01487/0.2631, allocations: 7.728 MB / 1.004 GB, free: 2.484 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001157/0.2643, allocations: 27.81 kB / 1.004 GB, free: 2.457 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0009815/0.2653, allocations: 178.7 kB / 1.004 GB, free: 2.281 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002515/0.2679, allocations: 0.6156 MB / 1.004 GB, free: 1.664 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002788/0.2707, allocations: 0.7421 MB / 1.005 GB, free: 0.9297 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002893/0.2736, allocations: 1.669 MB / 1.007 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001011/0.2746, allocations: 411.2 kB / 1.007 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00156/0.2762, allocations: 0.5251 MB / 1.008 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00115/0.2774, allocations: 0.4901 MB / 1.008 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001666/0.2776, allocations: 28 kB / 1.008 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001999/0.2796, allocations: 0.5925 MB / 1.009 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002596/0.2799, allocations: 123.4 kB / 1.009 GB, free: 13.08 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0003314/0.2803, allocations: 157.3 kB / 1.009 GB, free: 12.92 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.00166/0.2819, allocations: 0.7403 MB / 1.01 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 9.949e-06/0.282, allocations: 4 kB / 1.01 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.434e-06/0.282, allocations: 0 / 1.01 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.458e-05/0.282, allocations: 4 kB / 1.01 GB, free: 12.17 MB / 0.6355 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.002824/0.2849, allocations: 0.9811 MB / 1.011 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/0.2849, allocations: 8.031 kB / 1.011 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001794/0.2851, allocations: 90.52 kB / 1.011 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002051/0.2853, allocations: 83.06 kB / 1.011 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001083/0.2864, allocations: 486.6 kB / 1.011 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.36e-05/0.2865, allocations: 37 kB / 1.011 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/0.2866, allocations: 48 kB / 1.011 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001715/0.2884, allocations: 0.6371 MB / 1.012 GB, free: 9.645 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.147e-05/0.2884, allocations: 0 / 1.012 GB, free: 9.645 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.253e-05/0.2885, allocations: 24 kB / 1.012 GB, free: 9.621 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.994e-05/0.2885, allocations: 12 kB / 1.012 GB, free: 9.609 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001925/0.2905, allocations: 0.5112 MB / 1.013 GB, free: 9.098 MB / 0.6355 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.005696/0.2962, allocations: 3.193 MB / 1.016 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001292/0.2975, allocations: 354.8 kB / 1.016 GB, free: 5.355 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008787/0.2984, allocations: 244.7 kB / 1.016 GB, free: 5.113 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005063/0.299, allocations: 348.3 kB / 1.017 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.819e-05/0.299, allocations: 42.55 kB / 1.017 GB, free: 4.648 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=38): time 3.437e-06/0.299, allocations: 4 kB / 1.017 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of matching and sorting (n=38): time 0.003846/0.3029, allocations: 0.865 MB / 1.017 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.303, allocations: 59.41 kB / 1.018 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001095/0.3041, allocations: 0.5742 MB / 1.018 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001283/0.3042, allocations: 37.7 kB / 1.018 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004063/0.3047, allocations: 324.4 kB / 1.018 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.000176/0.3049, allocations: 130.2 kB / 1.019 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.446e-05/0.3049, allocations: 8 kB / 1.019 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002177/0.3051, allocations: 378.8 kB / 1.019 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009094/0.3061, allocations: 213.2 kB / 1.019 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001135/0.3072, allocations: 376 kB / 1.019 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001852/0.3091, allocations: 256.7 kB / 1.02 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-05/0.3091, allocations: 4 kB / 1.02 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002699/0.3119, allocations: 0.7261 MB / 1.02 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002262/0.3121, allocations: 235.6 kB / 1.021 GB, free: 300 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/0.3122, allocations: 4 kB / 1.021 GB, free: 296 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001066/0.3132, allocations: 152.7 kB / 1.021 GB, free: 140 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001375/0.3146, allocations: 151.8 kB / 1.021 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001066/0.3157, allocations: 0.6265 MB / 1.022 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001251/0.317, allocations: 107.3 kB / 1.022 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000119/0.3172, allocations: 35.94 kB / 1.022 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.3172, allocations: 4 kB / 1.022 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002223/0.3194, allocations: 0.6189 MB / 1.022 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.3195, allocations: 4 kB / 1.022 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.3195, allocations: 8 kB / 1.022 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/0.3207, allocations: 172.3 kB / 1.022 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.749e-05/0.3208, allocations: 11.94 kB / 1.022 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001024/0.3218, allocations: 91.47 kB / 1.023 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.534e-05/0.3219, allocations: 31.98 kB / 1.023 GB, free: 14.26 MB / 0.6511 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.000466/0.3224, allocations: 268.9 kB / 1.023 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001695/0.3226, allocations: 63.2 kB / 1.023 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002593/0.3252, allocations: 0.6794 MB / 1.024 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.765e-05/0.3252, allocations: 4 kB / 1.024 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.3252, allocations: 0 / 1.024 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.32e-05/0.3253, allocations: 3.984 kB / 1.024 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004316/0.3296, allocations: 1.408 MB / 1.025 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/0.3297, allocations: 0 / 1.025 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007093/0.3304, allocations: 95.97 kB / 1.025 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007189/0.3311, allocations: 132.7 kB / 1.025 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.756e-05/0.3312, allocations: 11.98 kB / 1.025 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009792/0.3322, allocations: 0.6421 MB / 1.026 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.3322, allocations: 0 / 1.026 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002442/0.3347, allocations: 0.7165 MB / 1.027 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004721/0.3352, allocations: 204 kB / 1.027 GB, free: 9.875 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001275/0.3353, allocations: 12 kB / 1.027 GB, free: 9.863 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007852/0.3361, allocations: 47.95 kB / 1.027 GB, free: 9.816 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.3363, allocations: 31.95 kB / 1.027 GB, free: 9.785 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001212/0.3364, allocations: 23.92 kB / 1.027 GB, free: 9.762 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0007224/0.3371, allocations: 391.1 kB / 1.027 GB, free: 9.387 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.01e-07/0.3371, allocations: 0 / 1.027 GB, free: 9.387 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00177/0.3389, allocations: 391.3 kB / 1.028 GB, free: 9.004 MB / 0.6511 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.005934/0.3449, allocations: 1.465 MB / 1.029 GB, free: 7.508 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.005914/0.3509, allocations: 0.9137 MB / 1.03 GB, free: 6.598 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/0.3509, allocations: 4 kB / 1.03 GB, free: 6.594 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001858/0.3528, allocations: 299.8 kB / 1.03 GB, free: 6.301 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002702/0.3555, allocations: 277.4 kB / 1.03 GB, free: 6.031 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01005/0.3656, allocations: 3.754 MB / 1.034 GB, free: 2.156 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006097/0.3663, allocations: 0.9116 MB / 1.035 GB, free: 1.219 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001092/0.3674, allocations: 145.3 kB / 1.035 GB, free: 1.078 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005446/0.368, allocations: 247.3 kB / 1.035 GB, free: 0.8359 MB / 0.6511 GB Notification: Performance of SimCode: time 1.142e-06/0.368, allocations: 4 kB / 1.035 GB, free: 0.832 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06368/0.4317, allocations: 17.82 MB / 1.053 GB, free: 15.38 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004198/0.4322, allocations: 281.4 kB / 1.053 GB, free: 15.02 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.528/3.961, allocations: 0 / 1.053 GB, free: 15.02 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent.fmu > Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)