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.623/2.623, allocations: 287.3 MB / 302.3 MB, free: 8.254 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.001579/0.001579, allocations: 178.4 kB / 370.8 MB, free: 10.88 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.152/2.152, allocations: 205.4 MB / 0.6295 GB, free: 10.64 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.001152/0.001152, allocations: 92.39 kB / 0.7428 GB, free: 6.66 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006757/0.000676, allocations: 11.53 kB / 0.8657 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2225/0.2232, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.02143/0.2447, allocations: 16.52 MB / 0.9944 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0147/0.2594, allocations: 7.315 MB / 1.002 GB, free: 4.422 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001121/0.2606, allocations: 23.75 kB / 1.002 GB, free: 4.398 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001759/0.2624, allocations: 374.3 kB / 1.002 GB, free: 4.031 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.003502/0.266, allocations: 0.8 MB / 1.003 GB, free: 3.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.008566/0.2745, allocations: 2.175 MB / 1.005 GB, free: 1.082 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002339/0.2769, allocations: 0.9464 MB / 1.006 GB, free: 136 kB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001106/0.2781, allocations: 415.3 kB / 1.006 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001737/0.2799, allocations: 0.4983 MB / 1.007 GB, free: 15.21 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001111/0.281, allocations: 398.3 kB / 1.007 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001935/0.2812, allocations: 28 kB / 1.007 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002164/0.2834, allocations: 0.6435 MB / 1.008 GB, free: 14.15 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002844/0.2838, allocations: 119.5 kB / 1.008 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0003334/0.2841, allocations: 153.3 kB / 1.008 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001848/0.286, allocations: 0.7482 MB / 1.009 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.286, allocations: 0 / 1.009 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.194e-06/0.286, allocations: 0 / 1.009 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.987e-05/0.2861, allocations: 4 kB / 1.009 GB, free: 13.12 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.003016/0.2891, allocations: 0.985 MB / 1.01 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.594e-05/0.2892, allocations: 8.031 kB / 1.01 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002086/0.2894, allocations: 86.52 kB / 1.01 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002279/0.2896, allocations: 83.06 kB / 1.01 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001234/0.2909, allocations: 486.6 kB / 1.01 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.902e-05/0.291, allocations: 44.88 kB / 1.01 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001182/0.2911, allocations: 48 kB / 1.01 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001934/0.2931, allocations: 0.6371 MB / 1.011 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.629e-05/0.2931, allocations: 0 / 1.011 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-05/0.2932, allocations: 20 kB / 1.011 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.215e-05/0.2932, allocations: 12 kB / 1.011 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001958/0.2952, allocations: 0.5112 MB / 1.012 GB, free: 10.05 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.006028/0.3013, allocations: 3.193 MB / 1.015 GB, free: 6.664 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001249/0.3026, allocations: 360.3 kB / 1.015 GB, free: 6.305 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004867/0.3031, allocations: 344.4 kB / 1.015 GB, free: 5.895 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.515e-05/0.3032, allocations: 46.59 kB / 1.015 GB, free: 5.84 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=38): time 3.257e-06/0.3032, allocations: 4 kB / 1.015 GB, free: 5.836 MB / 0.6355 GB Notification: Performance of matching and sorting (n=38): time 0.004023/0.3072, allocations: 0.8541 MB / 1.016 GB, free: 4.953 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.533e-05/0.3073, allocations: 55.41 kB / 1.016 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00116/0.3085, allocations: 0.5821 MB / 1.017 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001351/0.3087, allocations: 33.7 kB / 1.017 GB, free: 4.258 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003802/0.3091, allocations: 328.4 kB / 1.017 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001852/0.3093, allocations: 126.2 kB / 1.017 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.689e-05/0.3093, allocations: 16 kB / 1.017 GB, free: 3.793 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000222/0.3095, allocations: 370.8 kB / 1.018 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009248/0.3105, allocations: 217.1 kB / 1.018 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001076/0.3116, allocations: 376 kB / 1.018 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/0.3126, allocations: 256.7 kB / 1.018 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.3127, allocations: 0 / 1.018 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002771/0.3154, allocations: 0.73 MB / 1.019 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009963/0.3165, allocations: 1.744 MB / 1.021 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.807e-05/0.3166, allocations: 11.94 kB / 1.021 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001572/0.3181, allocations: 152.7 kB / 1.021 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001405/0.3196, allocations: 151.8 kB / 1.021 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001181/0.3208, allocations: 0.6304 MB / 1.022 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/0.3221, allocations: 107.3 kB / 1.022 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/0.3222, allocations: 31.98 kB / 1.022 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.3222, allocations: 4 kB / 1.022 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002316/0.3246, allocations: 0.615 MB / 1.023 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.3246, allocations: 8 kB / 1.023 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.3246, allocations: 8 kB / 1.023 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001272/0.3259, allocations: 172.3 kB / 1.023 GB, free: 14 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.562e-05/0.326, allocations: 11.94 kB / 1.023 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001092/0.3271, allocations: 87.48 kB / 1.023 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001185/0.3272, allocations: 31.98 kB / 1.023 GB, free: 13.87 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.0005452/0.3278, allocations: 272.9 kB / 1.023 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000244/0.3281, allocations: 63.16 kB / 1.023 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002742/0.3308, allocations: 0.6707 MB / 1.024 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.128e-05/0.3309, allocations: 7.984 kB / 1.024 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.3309, allocations: 0 / 1.024 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/0.3309, allocations: 0 / 1.024 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004483/0.3354, allocations: 1.4 MB / 1.025 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.406e-05/0.3355, allocations: 3.953 kB / 1.025 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007297/0.3362, allocations: 95.97 kB / 1.025 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007698/0.337, allocations: 132.8 kB / 1.025 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.469e-05/0.3371, allocations: 12 kB / 1.025 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001061/0.3382, allocations: 0.6342 MB / 1.026 GB, free: 10.47 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.3382, allocations: 4.062 kB / 1.026 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002532/0.3408, allocations: 0.7605 MB / 1.027 GB, free: 9.652 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005045/0.3414, allocations: 200 kB / 1.027 GB, free: 9.438 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001316/0.3415, allocations: 12 kB / 1.027 GB, free: 9.426 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008097/0.3423, allocations: 51.95 kB / 1.027 GB, free: 9.375 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/0.3425, allocations: 27.95 kB / 1.027 GB, free: 9.348 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.631e-05/0.3426, allocations: 23.98 kB / 1.027 GB, free: 9.324 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0007535/0.3433, allocations: 395 kB / 1.027 GB, free: 8.945 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.11e-07/0.3434, allocations: 0 / 1.027 GB, free: 8.945 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001828/0.3452, allocations: 387.3 kB / 1.028 GB, free: 8.566 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.003865/0.3491, allocations: 1.714 MB / 1.03 GB, free: 6.816 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00374/0.3529, allocations: 0.9175 MB / 1.03 GB, free: 5.898 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 8.316e-06/0.3529, allocations: 0 / 1.03 GB, free: 5.898 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.00132/0.3543, allocations: 299.9 kB / 1.031 GB, free: 5.605 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00261/0.3569, allocations: 264.8 kB / 1.031 GB, free: 5.348 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005633/0.3626, allocations: 4.626 MB / 1.035 GB, free: 0.5742 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007156/0.3634, allocations: 0.9272 MB / 1.036 GB, free: 15.62 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001135/0.3645, allocations: 148 kB / 1.037 GB, free: 15.48 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005956/0.3651, allocations: 251.3 kB / 1.037 GB, free: 15.24 MB / 0.6667 GB Notification: Performance of SimCode: time 1.614e-06/0.3652, allocations: 0 / 1.037 GB, free: 15.24 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06465/0.4298, allocations: 17.5 MB / 1.054 GB, free: 14.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003998/0.4303, allocations: 279.3 kB / 1.054 GB, free: 13.74 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.18/3.611, allocations: 3.938 kB / 1.054 GB, free: 13.73 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)