Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.755/1.755, allocations: 288.4 MB / 303.3 MB, free: 8.164 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.001136/0.001136, allocations: 189.5 kB / 372 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.803/1.803, allocations: 205.4 MB / 0.6307 GB, free: 9.965 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.0009282/0.000928, allocations: 84.84 kB / 0.744 GB, free: 5.887 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004382/0.0004383, allocations: 11.22 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2306, allocations: 115.3 MB / 0.9796 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.0223/0.2529, allocations: 27.74 MB / 1.007 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01792/0.2709, allocations: 10.98 MB / 1.017 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001629/0.2726, allocations: 35.62 kB / 1.017 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001004/0.2736, allocations: 305.9 kB / 1.018 GB, free: 4.406 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003849/0.2775, allocations: 1.08 MB / 1.019 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003209/0.2807, allocations: 0.9517 MB / 1.02 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.004716/0.2854, allocations: 3.508 MB / 1.023 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001731/0.2872, allocations: 1.074 MB / 1.024 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002834/0.29, allocations: 1.449 MB / 1.026 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002733/0.2928, allocations: 1.546 MB / 1.027 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0004115/0.2932, allocations: 64 kB / 1.027 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002253/0.2955, allocations: 0.8693 MB / 1.028 GB, free: 9.836 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0004078/0.2959, allocations: 330.8 kB / 1.028 GB, free: 9.512 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0004811/0.2964, allocations: 241.1 kB / 1.029 GB, free: 9.27 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.0018/0.2982, allocations: 1.524 MB / 1.03 GB, free: 7.742 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 9.258e-06/0.2982, allocations: 4 kB / 1.03 GB, free: 7.738 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.933e-06/0.2982, allocations: 3.938 kB / 1.03 GB, free: 7.734 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.306e-05/0.2983, allocations: 4 kB / 1.03 GB, free: 7.73 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.002775/0.301, allocations: 1.321 MB / 1.031 GB, free: 6.359 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/0.3011, allocations: 12.03 kB / 1.031 GB, free: 6.348 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000135/0.3012, allocations: 102.5 kB / 1.032 GB, free: 6.238 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000419/0.3017, allocations: 142.6 kB / 1.032 GB, free: 6.098 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001783/0.3035, allocations: 0.8564 MB / 1.032 GB, free: 5.199 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.713e-05/0.3035, allocations: 81.31 kB / 1.033 GB, free: 5.121 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001995/0.3037, allocations: 120 kB / 1.033 GB, free: 5.004 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/0.3048, allocations: 0.6395 MB / 1.033 GB, free: 4.336 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.3049, allocations: 4 kB / 1.033 GB, free: 4.332 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.26e-05/0.3049, allocations: 24 kB / 1.033 GB, free: 4.309 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.74e-05/0.305, allocations: 16 kB / 1.033 GB, free: 4.293 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008847/0.3058, allocations: 472.8 kB / 1.034 GB, free: 3.832 MB / 0.6511 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.004799/0.3107, allocations: 2.871 MB / 1.037 GB, free: 0.8086 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000625/0.3113, allocations: 311.8 kB / 1.037 GB, free: 0.4961 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003099/0.3116, allocations: 157.3 kB / 1.037 GB, free: 348 kB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003529/0.312, allocations: 340.7 kB / 1.037 GB, free: 15.93 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.312, allocations: 34.84 kB / 1.037 GB, free: 15.89 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=33): time 3.467e-06/0.312, allocations: 3.984 kB / 1.037 GB, free: 15.89 MB / 0.6667 GB Notification: Performance of matching and sorting (n=33): time 0.001329/0.3134, allocations: 0.5431 MB / 1.038 GB, free: 15.34 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.474e-05/0.3134, allocations: 59.34 kB / 1.038 GB, free: 15.27 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00109/0.3145, allocations: 0.8868 MB / 1.039 GB, free: 14.36 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001528/0.3147, allocations: 57.7 kB / 1.039 GB, free: 14.3 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005302/0.3152, allocations: 0.5299 MB / 1.039 GB, free: 13.75 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/0.3153, allocations: 114.4 kB / 1.04 GB, free: 13.64 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.88e-05/0.3154, allocations: 12 kB / 1.04 GB, free: 13.63 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.3155, allocations: 334 kB / 1.04 GB, free: 13.3 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003829/0.3159, allocations: 173.2 kB / 1.04 GB, free: 13.12 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001324/0.3172, allocations: 1.147 MB / 1.041 GB, free: 11.61 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005521/0.3178, allocations: 302.8 kB / 1.041 GB, free: 11.32 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.3178, allocations: 0 / 1.041 GB, free: 11.32 MB / 0.6667 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001292/0.3191, allocations: 0.6383 MB / 1.042 GB, free: 10.67 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001213/0.3193, allocations: 156.2 kB / 1.042 GB, free: 10.49 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.3193, allocations: 4 kB / 1.042 GB, free: 10.48 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.299e-05/0.3193, allocations: 7.953 kB / 1.042 GB, free: 10.48 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00144/0.3207, allocations: 239.7 kB / 1.042 GB, free: 10.24 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001808/0.3226, allocations: 2.95 MB / 1.045 GB, free: 7.176 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003614/0.3262, allocations: 0.7572 MB / 1.046 GB, free: 6.418 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/0.3263, allocations: 23.98 kB / 1.046 GB, free: 6.395 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.3263, allocations: 4 kB / 1.046 GB, free: 6.391 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001045/0.3274, allocations: 0.4972 MB / 1.047 GB, free: 5.891 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.3274, allocations: 4 kB / 1.047 GB, free: 5.887 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.506e-06/0.3274, allocations: 4 kB / 1.047 GB, free: 5.883 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006747/0.3281, allocations: 155.8 kB / 1.047 GB, free: 5.73 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.3281, allocations: 20.11 kB / 1.047 GB, free: 5.711 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003452/0.3316, allocations: 0.7378 MB / 1.047 GB, free: 4.973 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.803e-05/0.3317, allocations: 27.92 kB / 1.048 GB, free: 4.945 MB / 0.6667 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007272/0.3324, allocations: 325.9 kB / 1.048 GB, free: 4.617 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003066/0.3327, allocations: 98.73 kB / 1.048 GB, free: 4.52 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001174/0.3339, allocations: 0.5201 MB / 1.048 GB, free: 3.988 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/0.3339, allocations: 8 kB / 1.048 GB, free: 3.98 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.3339, allocations: 0 / 1.048 GB, free: 3.98 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.334, allocations: 3.984 kB / 1.048 GB, free: 3.977 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002187/0.3362, allocations: 1.264 MB / 1.05 GB, free: 2.645 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.3362, allocations: 0 / 1.05 GB, free: 2.645 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005535/0.3367, allocations: 127.8 kB / 1.05 GB, free: 2.52 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.962e-05/0.3368, allocations: 4.188 kB / 1.05 GB, free: 2.516 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.776e-05/0.3368, allocations: 8 kB / 1.05 GB, free: 2.508 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001584/0.3384, allocations: 2.95 MB / 1.053 GB, free: 15.44 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.3384, allocations: 4.031 kB / 1.053 GB, free: 15.44 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009464/0.3394, allocations: 0.5857 MB / 1.053 GB, free: 14.82 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00038/0.3397, allocations: 219.7 kB / 1.053 GB, free: 14.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.778e-05/0.3398, allocations: 8 kB / 1.053 GB, free: 14.58 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005181/0.3404, allocations: 67.78 kB / 1.054 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.338e-05/0.3404, allocations: 23.97 kB / 1.054 GB, free: 14.49 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.253e-05/0.3405, allocations: 19.98 kB / 1.054 GB, free: 14.47 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007622/0.3413, allocations: 0.5806 MB / 1.054 GB, free: 13.88 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3413, allocations: 0 / 1.054 GB, free: 13.88 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001593/0.3429, allocations: 0.5384 MB / 1.055 GB, free: 13.34 MB / 0.6823 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001718/0.3446, allocations: 1.334 MB / 1.056 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002642/0.3473, allocations: 0.8395 MB / 1.057 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.3473, allocations: 0 / 1.057 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005835/0.3479, allocations: 236 kB / 1.057 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002747/0.3506, allocations: 495.7 kB / 1.058 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008279/0.3589, allocations: 5.03 MB / 1.062 GB, free: 5.176 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006246/0.3596, allocations: 1.025 MB / 1.063 GB, free: 4.121 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001411/0.361, allocations: 215 kB / 1.064 GB, free: 3.906 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004598/0.3615, allocations: 367.3 kB / 1.064 GB, free: 3.547 MB / 0.6823 GB Notification: Performance of SimCode: time 1.072e-06/0.3615, allocations: 0 / 1.064 GB, free: 3.547 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5335/0.895, allocations: 32.42 MB / 1.096 GB, free: 79.29 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000212/0.8952, allocations: 269.6 kB / 1.096 GB, free: 78.93 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.063/3.959, allocations: 1.75 kB / 1.096 GB, free: 78.93 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValves.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)