Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.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.TwoWayValves,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValves",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.502/1.502, allocations: 249.3 MB / 261.9 MB, free: 5.828 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001103/0.001103, allocations: 174.6 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.711/1.711, allocations: 205.2 MB / 0.572 GB, free: 10.69 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.00112/0.00112, allocations: 90.47 kB / 0.6764 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.658e-05/3.689e-05, allocations: 4 kB / 0.788 GB, free: 97.03 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.237, allocations: 106.3 MB / 0.8919 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.787/2.024, allocations: 393.3 MB / 1.276 GB, free: 318.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004034/2.024, allocations: 95.22 kB / 1.276 GB, free: 318.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.355/3.379, allocations: 352 MB / 1.62 GB, free: 207.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.833e-06/3.379, allocations: 3.531 kB / 1.62 GB, free: 207.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001235/3.379, allocations: 30.25 kB / 1.62 GB, free: 207.2 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.002847/3.382, allocations: 1.159 MB / 1.621 GB, free: 206.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.187e-05/3.382, allocations: 12.75 kB / 1.621 GB, free: 206.8 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000144/3.382, allocations: 91.48 kB / 1.621 GB, free: 206.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002826/3.382, allocations: 123.4 kB / 1.621 GB, free: 206.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001691/3.384, allocations: 0.6604 MB / 1.622 GB, free: 206.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.469e-05/3.384, allocations: 61.59 kB / 1.622 GB, free: 206.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001788/3.384, allocations: 85.66 kB / 1.622 GB, free: 206.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/3.385, allocations: 0.5162 MB / 1.622 GB, free: 206.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/3.385, allocations: 3.594 kB / 1.622 GB, free: 206.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.958e-05/3.385, allocations: 18.31 kB / 1.622 GB, free: 206.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/3.386, allocations: 21.2 kB / 1.622 GB, free: 206.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006004/3.386, allocations: 349 kB / 1.623 GB, free: 206.3 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.004155/3.39, allocations: 2.502 MB / 1.625 GB, free: 205.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004815/3.391, allocations: 249.9 kB / 1.625 GB, free: 205.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000199/3.391, allocations: 111 kB / 1.626 GB, free: 205.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003145/3.391, allocations: 344 kB / 1.626 GB, free: 204.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/3.391, allocations: 36.94 kB / 1.626 GB, free: 204.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=29): time 4.929e-06/3.391, allocations: 3.219 kB / 1.626 GB, free: 204.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=29): time 0.0008452/3.392, allocations: 333.1 kB / 1.626 GB, free: 204.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/3.392, allocations: 54.98 kB / 1.626 GB, free: 204.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/3.393, allocations: 0.65 MB / 1.627 GB, free: 204.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 8.253e-05/3.393, allocations: 48.45 kB / 1.627 GB, free: 204.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003808/3.394, allocations: 438.4 kB / 1.627 GB, free: 204.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 8.838e-05/3.394, allocations: 98.38 kB / 1.628 GB, free: 204.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.525e-05/3.394, allocations: 13.47 kB / 1.628 GB, free: 204.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001016/3.394, allocations: 327.8 kB / 1.628 GB, free: 203.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002207/3.394, allocations: 130.4 kB / 1.628 GB, free: 203.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007907/3.395, allocations: 0.7673 MB / 1.629 GB, free: 203.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003553/3.395, allocations: 215.1 kB / 1.629 GB, free: 203.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.074e-06/3.395, allocations: 5.875 kB / 1.629 GB, free: 203.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0009101/3.396, allocations: 0.5076 MB / 1.629 GB, free: 203.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002322/3.397, allocations: 0.7915 MB / 1.63 GB, free: 202.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/3.397, allocations: 3.938 kB / 1.63 GB, free: 202.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/3.397, allocations: 7.109 kB / 1.63 GB, free: 202.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001099/3.398, allocations: 173.5 kB / 1.63 GB, free: 202.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00112/3.399, allocations: 2.367 MB / 1.633 GB, free: 200.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002149/3.401, allocations: 389.9 kB / 1.633 GB, free: 200.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.688e-05/3.401, allocations: 27.53 kB / 1.633 GB, free: 200.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/3.401, allocations: 4.781 kB / 1.633 GB, free: 200.1 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008393/3.402, allocations: 396.4 kB / 1.633 GB, free: 200.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/3.402, allocations: 2.156 kB / 1.633 GB, free: 200.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/3.402, allocations: 5.641 kB / 1.633 GB, free: 200.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006525/3.403, allocations: 140.7 kB / 1.634 GB, free: 200.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.052e-05/3.403, allocations: 12.94 kB / 1.634 GB, free: 200.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002029/3.405, allocations: 382.9 kB / 1.634 GB, free: 200 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.422e-05/3.405, allocations: 23.28 kB / 1.634 GB, free: 200 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002941/3.405, allocations: 146.5 kB / 1.634 GB, free: 199.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001988/3.405, allocations: 84.19 kB / 1.634 GB, free: 199.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001207/3.407, allocations: 443.9 kB / 1.635 GB, free: 199.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.8e-05/3.407, allocations: 5.656 kB / 1.635 GB, free: 199.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.288e-06/3.407, allocations: 0 / 1.635 GB, free: 199.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.426e-05/3.407, allocations: 5.406 kB / 1.635 GB, free: 199.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002775/3.409, allocations: 1.094 MB / 1.636 GB, free: 199.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.1e-05/3.409, allocations: 1.531 kB / 1.636 GB, free: 199.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005726/3.41, allocations: 104.9 kB / 1.636 GB, free: 199.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.42e-05/3.41, allocations: 2.656 kB / 1.636 GB, free: 199.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.679e-05/3.41, allocations: 8.5 kB / 1.636 GB, free: 199.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001056/3.411, allocations: 2.351 MB / 1.638 GB, free: 197.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.082e-06/3.411, allocations: 2.438 kB / 1.638 GB, free: 197.1 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001038/3.412, allocations: 0.5357 MB / 1.639 GB, free: 196.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006103/3.413, allocations: 201.7 kB / 1.639 GB, free: 196.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003061/3.413, allocations: 6.625 kB / 1.639 GB, free: 196.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000845/3.414, allocations: 63.7 kB / 1.639 GB, free: 196.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001318/3.414, allocations: 28.16 kB / 1.639 GB, free: 196.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.887e-05/3.414, allocations: 14.86 kB / 1.639 GB, free: 196.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001289/3.416, allocations: 0.4957 MB / 1.639 GB, free: 196.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.011e-06/3.416, allocations: 1.312 kB / 1.639 GB, free: 196.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003414/3.419, allocations: 0.4959 MB / 1.64 GB, free: 196.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002972/3.422, allocations: 1.726 MB / 1.642 GB, free: 195.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00305/3.425, allocations: 0.6372 MB / 1.642 GB, free: 195.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/3.425, allocations: 0 / 1.642 GB, free: 195.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005694/3.426, allocations: 184.8 kB / 1.642 GB, free: 195.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003275/3.429, allocations: 417.1 kB / 1.643 GB, free: 195.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004797/3.434, allocations: 1.12 MB / 1.644 GB, free: 195.1 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000712/3.434, allocations: 0.9917 MB / 1.645 GB, free: 194.4 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001932/3.436, allocations: 217.8 kB / 1.645 GB, free: 194.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005361/3.437, allocations: 294.3 kB / 1.645 GB, free: 194.4 MB / 0.8698 GB Notification: Performance of SimCode: time 1.152e-06/3.437, allocations: 0 / 1.645 GB, free: 194.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07061/3.508, allocations: 29.73 MB / 1.674 GB, free: 193.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001886/3.508, allocations: 232.6 kB / 1.675 GB, free: 193.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.275/6.783, allocations: 0 / 1.675 GB, free: 193.5 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValves.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)