Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.TwoWayValveTable,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable",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.0009242/0.0009242, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001077/0.001077, allocations: 168.7 kB / 15.95 MB, free: 204 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.725/1.725, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.84/1.84, 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.0005364/0.0005364, allocations: 14.53 kB / 0.6738 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.2751, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01765/0.2928, allocations: 16.11 MB / 0.8031 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.012/0.3048, allocations: 7.089 MB / 0.8101 GB, free: 4.574 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007303/0.3056, allocations: 15.88 kB / 0.8101 GB, free: 4.559 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0008617/0.3065, allocations: 190.9 kB / 0.8103 GB, free: 4.371 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001602/0.3081, allocations: 0.4897 MB / 0.8107 GB, free: 3.879 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001889/0.31, allocations: 0.5867 MB / 0.8113 GB, free: 3.301 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001467/0.3115, allocations: 1.083 MB / 0.8124 GB, free: 2.215 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004678/0.312, allocations: 268.9 kB / 0.8126 GB, free: 1.949 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006221/0.3126, allocations: 358.4 kB / 0.813 GB, free: 1.598 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003819/0.313, allocations: 286.7 kB / 0.8132 GB, free: 1.316 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 4.918e-05/0.313, allocations: 16 kB / 0.8133 GB, free: 1.301 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001266/0.3143, allocations: 0.5887 MB / 0.8138 GB, free: 0.7109 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001317/0.3145, allocations: 115.6 kB / 0.8139 GB, free: 0.5977 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001179/0.3146, allocations: 109.5 kB / 0.814 GB, free: 496 kB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0008168/0.3154, allocations: 0.5806 MB / 0.8146 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3154, allocations: 0 / 0.8146 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.524e-06/0.3154, allocations: 4 kB / 0.8146 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.3154, allocations: 0 / 0.8146 GB, free: 15.9 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.00124/0.3167, allocations: 0.7902 MB / 0.8154 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.3167, allocations: 12.03 kB / 0.8154 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.379e-05/0.3168, allocations: 62.53 kB / 0.8155 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001596/0.317, allocations: 59.25 kB / 0.8155 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006249/0.3176, allocations: 424.8 kB / 0.8159 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.467e-05/0.3177, allocations: 20.56 kB / 0.8159 GB, free: 14.44 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.862e-05/0.3177, allocations: 35.95 kB / 0.816 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005042/0.3182, allocations: 286.3 kB / 0.8162 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/0.3183, allocations: 0 / 0.8162 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.253e-05/0.3183, allocations: 11.94 kB / 0.8163 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.3183, allocations: 8 kB / 0.8163 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004/0.3187, allocations: 202.1 kB / 0.8165 GB, free: 13.89 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.001844/0.3206, allocations: 1.476 MB / 0.8179 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003076/0.3209, allocations: 170.8 kB / 0.8181 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001732/0.3211, allocations: 92.8 kB / 0.8181 GB, free: 12.03 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001559/0.3226, allocations: 1.295 MB / 0.8194 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.3227, allocations: 34.56 kB / 0.8194 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=15): time 1.873e-06/0.3227, allocations: 0 / 0.8194 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of matching and sorting (n=15): time 0.0006545/0.3233, allocations: 259.7 kB / 0.8197 GB, free: 10.24 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.298e-05/0.3234, allocations: 59.34 kB / 0.8197 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007207/0.3241, allocations: 0.5808 MB / 0.8203 GB, free: 9.578 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.663e-05/0.3242, allocations: 29.7 kB / 0.8203 GB, free: 9.543 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002185/0.3244, allocations: 272 kB / 0.8206 GB, free: 9.273 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.957e-05/0.3244, allocations: 51.3 kB / 0.8207 GB, free: 9.223 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.167e-05/0.3245, allocations: 4 kB / 0.8207 GB, free: 9.219 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.3246, allocations: 362.7 kB / 0.821 GB, free: 8.855 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000166/0.3248, allocations: 80.52 kB / 0.8211 GB, free: 8.777 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002683/0.3251, allocations: 206.8 kB / 0.8213 GB, free: 8.527 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002065/0.3253, allocations: 99.91 kB / 0.8214 GB, free: 8.43 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.3253, allocations: 0 / 0.8214 GB, free: 8.43 MB / 0.6387 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005367/0.3258, allocations: 324.8 kB / 0.8217 GB, free: 8.105 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001007/0.326, allocations: 156.3 kB / 0.8218 GB, free: 7.918 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.326, allocations: 4 kB / 0.8218 GB, free: 7.914 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.326, allocations: 4 kB / 0.8218 GB, free: 7.91 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002582/0.3263, allocations: 75.86 kB / 0.8219 GB, free: 7.836 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/0.3263, allocations: 7.984 kB / 0.8219 GB, free: 7.828 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003193/0.3266, allocations: 51.52 kB / 0.822 GB, free: 7.777 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.646e-05/0.3267, allocations: 15.98 kB / 0.822 GB, free: 7.762 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 5.931e-06/0.3267, allocations: 0 / 0.822 GB, free: 7.762 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004521/0.3271, allocations: 247.6 kB / 0.8222 GB, free: 7.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.796e-06/0.3271, allocations: 0 / 0.8222 GB, free: 7.52 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.771e-06/0.3272, allocations: 4 kB / 0.8222 GB, free: 7.516 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000209/0.3274, allocations: 72.16 kB / 0.8223 GB, free: 7.445 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.3274, allocations: 4.094 kB / 0.8223 GB, free: 7.441 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002655/0.3277, allocations: 43.75 kB / 0.8223 GB, free: 7.398 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.433e-05/0.3277, allocations: 16 kB / 0.8224 GB, free: 7.383 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002282/0.3279, allocations: 261 kB / 0.8226 GB, free: 7.117 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.259e-05/0.328, allocations: 59.28 kB / 0.8227 GB, free: 7.059 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005449/0.3286, allocations: 261.6 kB / 0.8229 GB, free: 6.793 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.307e-05/0.3286, allocations: 7.984 kB / 0.8229 GB, free: 6.785 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.3286, allocations: 0 / 0.8229 GB, free: 6.785 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.3286, allocations: 3.953 kB / 0.8229 GB, free: 6.781 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009931/0.3296, allocations: 0.7395 MB / 0.8236 GB, free: 5.973 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.3296, allocations: 0 / 0.8236 GB, free: 5.973 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001251/0.3297, allocations: 35.98 kB / 0.8237 GB, free: 5.938 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.3298, allocations: 3.953 kB / 0.8237 GB, free: 5.934 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.3298, allocations: 4 kB / 0.8237 GB, free: 5.93 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.838e-06/0.3298, allocations: 3.938 kB / 0.8237 GB, free: 5.926 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.032e-06/0.3298, allocations: 8.188 kB / 0.8237 GB, free: 5.918 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004513/0.3303, allocations: 372.8 kB / 0.8241 GB, free: 5.527 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001533/0.3304, allocations: 152.5 kB / 0.8242 GB, free: 5.359 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.334e-05/0.3305, allocations: 4 kB / 0.8242 GB, free: 5.355 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000197/0.3307, allocations: 19.97 kB / 0.8242 GB, free: 5.336 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.527e-05/0.3307, allocations: 19.92 kB / 0.8242 GB, free: 5.316 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.997e-05/0.3308, allocations: 15.95 kB / 0.8243 GB, free: 5.301 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004555/0.3312, allocations: 414.8 kB / 0.8246 GB, free: 4.898 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3312, allocations: 0 / 0.8246 GB, free: 4.898 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007508/0.332, allocations: 227.6 kB / 0.8249 GB, free: 4.676 MB / 0.6387 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 (17): * Single equations (assignments): 15 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001713/0.3337, allocations: 1.278 MB / 0.8261 GB, free: 3.5 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00074/0.3345, allocations: 324.3 kB / 0.8264 GB, free: 3.184 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3345, allocations: 256 / 0.8264 GB, free: 3.184 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001838/0.3347, allocations: 95.89 kB / 0.8265 GB, free: 3.09 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001276/0.336, allocations: 247.9 kB / 0.8268 GB, free: 2.852 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004284/0.3403, allocations: 2.701 MB / 0.8294 GB, free: 52 kB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004756/0.3408, allocations: 0.8506 MB / 0.8302 GB, free: 15.17 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004306/0.3412, allocations: 100.3 kB / 0.8303 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002313/0.3414, allocations: 171.2 kB / 0.8305 GB, free: 14.9 MB / 0.6544 GB Notification: Performance of SimCode: time 6.31e-07/0.3415, allocations: 0 / 0.8305 GB, free: 14.9 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03237/0.3738, allocations: 14.31 MB / 0.8445 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001937/0.3741, allocations: 237.1 kB / 0.8447 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.157/2.531, allocations: 3.938 kB / 0.8447 GB, free: 0.6328 MB / 0.6544 GB (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable.fmu > Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) Environment - environmentSimulation: