Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009624/0.000969, allocations: 91.61 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.736/1.736, allocations: 205.4 MB / 222.1 MB, free: 5.883 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.795/1.795, allocations: 292.7 MB / 0.5499 GB, free: 14.56 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005556/0.0005557, allocations: 13.66 kB / 0.6738 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.2736, allocations: 116.3 MB / 0.7874 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.02076/0.2945, allocations: 17.99 MB / 0.805 GB, free: 9.816 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01303/0.3076, allocations: 7.73 MB / 0.8125 GB, free: 2.078 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001165/0.3088, allocations: 27.75 kB / 0.8125 GB, free: 2.051 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.000938/0.3097, allocations: 190.7 kB / 0.8127 GB, free: 1.863 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00241/0.3122, allocations: 0.6093 MB / 0.8133 GB, free: 1.254 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002613/0.3148, allocations: 0.7356 MB / 0.814 GB, free: 0.5234 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003161/0.318, allocations: 1.673 MB / 0.8157 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001187/0.3192, allocations: 399.2 kB / 0.8161 GB, free: 14.44 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001572/0.3208, allocations: 0.5329 MB / 0.8166 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00113/0.3219, allocations: 0.4939 MB / 0.8171 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002188/0.3221, allocations: 28 kB / 0.8171 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001709/0.3239, allocations: 0.5964 MB / 0.8177 GB, free: 12.78 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002253/0.3241, allocations: 123.4 kB / 0.8178 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0003222/0.3244, allocations: 149.3 kB / 0.8179 GB, free: 12.51 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001198/0.3256, allocations: 0.7482 MB / 0.8187 GB, free: 11.76 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.3256, allocations: 0 / 0.8187 GB, free: 11.76 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.134e-06/0.3257, allocations: 0 / 0.8187 GB, free: 11.76 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.101e-05/0.3257, allocations: 0 / 0.8187 GB, free: 11.76 MB / 0.6387 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.00214/0.3278, allocations: 0.9851 MB / 0.8196 GB, free: 10.72 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/0.3279, allocations: 15.97 kB / 0.8196 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001402/0.3281, allocations: 82.53 kB / 0.8197 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000136/0.3282, allocations: 75.06 kB / 0.8198 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007557/0.329, allocations: 490.6 kB / 0.8203 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.051e-05/0.329, allocations: 40.94 kB / 0.8203 GB, free: 9.98 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.084e-05/0.3291, allocations: 51.94 kB / 0.8203 GB, free: 9.93 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/0.3301, allocations: 0.6371 MB / 0.821 GB, free: 9.223 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.3302, allocations: 8 kB / 0.821 GB, free: 9.215 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.45e-05/0.3302, allocations: 20 kB / 0.821 GB, free: 9.195 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/0.3302, allocations: 12 kB / 0.821 GB, free: 9.184 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001007/0.3313, allocations: 0.5112 MB / 0.8215 GB, free: 8.676 MB / 0.6387 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.003498/0.3348, allocations: 3.197 MB / 0.8246 GB, free: 5.281 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006716/0.3355, allocations: 350.8 kB / 0.825 GB, free: 4.93 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004564/0.3359, allocations: 240.7 kB / 0.8252 GB, free: 4.691 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003628/0.3363, allocations: 356.4 kB / 0.8255 GB, free: 4.27 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.3363, allocations: 34.56 kB / 0.8256 GB, free: 4.227 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=38): time 1.914e-06/0.3363, allocations: 0 / 0.8256 GB, free: 4.227 MB / 0.6387 GB Notification: Performance of matching and sorting (n=38): time 0.002073/0.3384, allocations: 0.8688 MB / 0.8264 GB, free: 3.328 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.997e-05/0.3385, allocations: 55.41 kB / 0.8265 GB, free: 3.262 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006959/0.3392, allocations: 0.5704 MB / 0.827 GB, free: 2.684 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.029e-05/0.3392, allocations: 45.62 kB / 0.8271 GB, free: 2.633 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003291/0.3396, allocations: 328.4 kB / 0.8274 GB, free: 2.309 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001265/0.3397, allocations: 130 kB / 0.8275 GB, free: 2.18 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.178e-05/0.3398, allocations: 16 kB / 0.8275 GB, free: 2.164 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000263/0.34, allocations: 366.8 kB / 0.8279 GB, free: 1.797 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005156/0.3406, allocations: 225.2 kB / 0.8281 GB, free: 1.574 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006101/0.3412, allocations: 372 kB / 0.8284 GB, free: 1.152 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005507/0.3417, allocations: 252.7 kB / 0.8287 GB, free: 0.9062 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.3417, allocations: 4 kB / 0.8287 GB, free: 0.9023 MB / 0.6387 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00144/0.3432, allocations: 0.7266 MB / 0.8294 GB, free: 168 kB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001826/0.3434, allocations: 231.1 kB / 0.8296 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.3434, allocations: 11.92 kB / 0.8296 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006158/0.344, allocations: 152.7 kB / 0.8298 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006449/0.3447, allocations: 159.8 kB / 0.8299 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006412/0.3453, allocations: 0.6226 MB / 0.8305 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006383/0.346, allocations: 107.3 kB / 0.8306 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.078e-05/0.3461, allocations: 24 kB / 0.8306 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.3461, allocations: 7.984 kB / 0.8307 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00126/0.3474, allocations: 0.6233 MB / 0.8313 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.3474, allocations: 8 kB / 0.8313 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.3474, allocations: 12.03 kB / 0.8313 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006176/0.348, allocations: 159.8 kB / 0.8314 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.457e-05/0.3481, allocations: 11.94 kB / 0.8314 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005773/0.3486, allocations: 91.48 kB / 0.8315 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-05/0.3487, allocations: 31.98 kB / 0.8316 GB, free: 13.84 MB / 0.6544 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.0003269/0.349, allocations: 271.5 kB / 0.8318 GB, free: 13.56 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/0.3492, allocations: 71.11 kB / 0.8319 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00148/0.3507, allocations: 0.6699 MB / 0.8325 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/0.3507, allocations: 7.938 kB / 0.8326 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.3507, allocations: 0 / 0.8326 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.445e-06/0.3507, allocations: 0 / 0.8326 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002656/0.3534, allocations: 1.401 MB / 0.8339 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.712e-06/0.3534, allocations: 0 / 0.8339 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003497/0.3537, allocations: 83.89 kB / 0.834 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004002/0.3542, allocations: 136.9 kB / 0.8341 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.846e-05/0.3542, allocations: 16 kB / 0.8341 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006103/0.3548, allocations: 0.642 MB / 0.8348 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.3548, allocations: 0 / 0.8348 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001336/0.3562, allocations: 0.7283 MB / 0.8355 GB, free: 9.668 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003041/0.3565, allocations: 200 kB / 0.8357 GB, free: 9.453 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.3566, allocations: 8 kB / 0.8357 GB, free: 9.445 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004533/0.3571, allocations: 55.95 kB / 0.8357 GB, free: 9.391 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.493e-05/0.3572, allocations: 27.95 kB / 0.8358 GB, free: 9.363 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.06e-05/0.3572, allocations: 23.98 kB / 0.8358 GB, free: 9.34 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004533/0.3577, allocations: 395 kB / 0.8362 GB, free: 8.961 MB / 0.6544 GB Notification: Performance of sort global known variables: time 5.31e-07/0.3577, allocations: 0 / 0.8362 GB, free: 8.961 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001275/0.359, allocations: 387.3 kB / 0.8365 GB, free: 8.582 MB / 0.6544 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.002353/0.3613, allocations: 1.473 MB / 0.838 GB, free: 7.086 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00208/0.3634, allocations: 0.914 MB / 0.8389 GB, free: 6.172 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.3634, allocations: 0 / 0.8389 GB, free: 6.172 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007311/0.3642, allocations: 304.2 kB / 0.8392 GB, free: 5.875 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001591/0.3658, allocations: 265.1 kB / 0.8394 GB, free: 5.617 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008453/0.3742, allocations: 3.764 MB / 0.8431 GB, free: 1.73 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006893/0.375, allocations: 0.9038 MB / 0.844 GB, free: 0.7969 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0008783/0.3759, allocations: 164.8 kB / 0.8441 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004711/0.3764, allocations: 243.3 kB / 0.8444 GB, free: 412 kB / 0.6544 GB Notification: Performance of SimCode: time 2.554e-06/0.3764, allocations: 0 / 0.8444 GB, free: 412 kB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04247/0.4189, allocations: 17.8 MB / 0.8617 GB, free: 15 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002657/0.4192, allocations: 273.6 kB / 0.862 GB, free: 14.65 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.317/2.736, allocations: 3.719 kB / 0.862 GB, free: 14.65 MB / 0.6856 GB (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent.fmu > Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1) Environment - environmentSimulation: