Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.TwoWayValvesTable,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",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.656/2.656, allocations: 287.3 MB / 302.3 MB, free: 8.328 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.002196/0.002197, allocations: 179.3 kB / 370.8 MB, free: 10.87 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.178/2.178, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001141/0.001141, allocations: 98.59 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004898/0.0004899, allocations: 12.23 kB / 0.8657 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.241, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01839/0.2595, allocations: 13.27 MB / 0.9912 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01267/0.2722, allocations: 6.36 MB / 0.9974 GB, free: 8.613 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008049/0.273, allocations: 19.81 kB / 0.9975 GB, free: 8.594 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001685/0.2747, allocations: 338.6 kB / 0.9978 GB, free: 8.262 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002678/0.2775, allocations: 0.605 MB / 0.9984 GB, free: 7.656 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.008453/0.286, allocations: 1.851 MB / 1 GB, free: 5.824 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001814/0.2878, allocations: 0.63 MB / 1.001 GB, free: 5.191 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006839/0.2885, allocations: 262.5 kB / 1.001 GB, free: 4.93 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008799/0.2894, allocations: 342.8 kB / 1.001 GB, free: 4.594 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004157/0.2899, allocations: 219 kB / 1.002 GB, free: 4.379 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.357e-05/0.29, allocations: 12 kB / 1.002 GB, free: 4.367 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001207/0.2912, allocations: 391.4 kB / 1.002 GB, free: 3.984 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001558/0.2914, allocations: 79.67 kB / 1.002 GB, free: 3.906 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001593/0.2915, allocations: 105.5 kB / 1.002 GB, free: 3.797 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0008945/0.2924, allocations: 486.8 kB / 1.003 GB, free: 3.32 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2925, allocations: 0 / 1.003 GB, free: 3.32 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.314e-06/0.2925, allocations: 0 / 1.003 GB, free: 3.32 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.196e-06/0.2925, allocations: 0 / 1.003 GB, free: 3.32 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001401/0.2939, allocations: 0.728 MB / 1.003 GB, free: 2.543 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.294, allocations: 12.03 kB / 1.003 GB, free: 2.531 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.357e-05/0.294, allocations: 54.53 kB / 1.003 GB, free: 2.469 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001118/0.2942, allocations: 59.3 kB / 1.003 GB, free: 2.41 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000758/0.2949, allocations: 393 kB / 1.004 GB, free: 1.988 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/0.295, allocations: 20.44 kB / 1.004 GB, free: 1.969 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.23e-05/0.295, allocations: 28 kB / 1.004 GB, free: 1.941 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006008/0.2957, allocations: 215.2 kB / 1.004 GB, free: 1.727 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.2957, allocations: 4 kB / 1.004 GB, free: 1.723 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.741e-05/0.2957, allocations: 4 kB / 1.004 GB, free: 1.719 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.377e-05/0.2958, allocations: 11.94 kB / 1.004 GB, free: 1.707 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005894/0.2963, allocations: 177.6 kB / 1.004 GB, free: 1.535 MB / 0.6198 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.002282/0.2986, allocations: 0.9457 MB / 1.005 GB, free: 0.5117 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004233/0.2991, allocations: 146.5 kB / 1.005 GB, free: 368 kB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003126/0.2994, allocations: 336.5 kB / 1.006 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.2995, allocations: 38.56 kB / 1.006 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=14): time 3.086e-06/0.2995, allocations: 0 / 1.006 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14): time 0.001079/0.3006, allocations: 246.9 kB / 1.006 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.667e-05/0.3007, allocations: 55.41 kB / 1.006 GB, free: 15.6 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008168/0.3015, allocations: 465.9 kB / 1.006 GB, free: 15.13 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.801e-05/0.3016, allocations: 29.7 kB / 1.006 GB, free: 15.1 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000253/0.3018, allocations: 236.5 kB / 1.007 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.853e-05/0.3019, allocations: 43.3 kB / 1.007 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.761e-05/0.3019, allocations: 4 kB / 1.007 GB, free: 14.81 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001769/0.3021, allocations: 354.8 kB / 1.007 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003547/0.3025, allocations: 75.81 kB / 1.007 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004144/0.3029, allocations: 145.9 kB / 1.007 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003507/0.3033, allocations: 99.75 kB / 1.007 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.3033, allocations: 0 / 1.007 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0009166/0.3042, allocations: 259.5 kB / 1.008 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001566/0.3044, allocations: 275 kB / 1.008 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.3044, allocations: 0 / 1.008 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.3045, allocations: 3.953 kB / 1.008 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004345/0.3049, allocations: 51.97 kB / 1.008 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.3049, allocations: 7.984 kB / 1.008 GB, free: 13.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000638/0.3056, allocations: 39.81 kB / 1.008 GB, free: 13.47 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.996e-05/0.3057, allocations: 11.94 kB / 1.008 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.3057, allocations: 4 kB / 1.008 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007464/0.3064, allocations: 191.7 kB / 1.008 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.3065, allocations: 0 / 1.008 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.3065, allocations: 4 kB / 1.008 GB, free: 13.26 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003926/0.3069, allocations: 43.97 kB / 1.008 GB, free: 13.22 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.3069, allocations: 0 / 1.008 GB, free: 13.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006215/0.3075, allocations: 43.81 kB / 1.008 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.445e-05/0.3076, allocations: 12 kB / 1.008 GB, free: 13.16 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (24): * Single equations (assignments): 24 * 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.0003671/0.308, allocations: 244.9 kB / 1.008 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.3081, allocations: 47.52 kB / 1.009 GB, free: 12.87 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00096/0.3091, allocations: 258.1 kB / 1.009 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.448e-05/0.3091, allocations: 7.938 kB / 1.009 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.3091, allocations: 0 / 1.009 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.427e-06/0.3091, allocations: 4.172 kB / 1.009 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001784/0.3109, allocations: 0.716 MB / 1.009 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-05/0.311, allocations: 12.11 kB / 1.01 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002547/0.3113, allocations: 27.98 kB / 1.01 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.486e-06/0.3113, allocations: 0 / 1.01 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.565e-05/0.3113, allocations: 8 kB / 1.01 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-05/0.3113, allocations: 7.938 kB / 1.01 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.3114, allocations: 0 / 1.01 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009186/0.3123, allocations: 411.6 kB / 1.01 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002779/0.3126, allocations: 144.4 kB / 1.01 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.919e-05/0.3127, allocations: 4 kB / 1.01 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004241/0.3131, allocations: 27.97 kB / 1.01 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.992e-05/0.3132, allocations: 19.92 kB / 1.01 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.783e-05/0.3133, allocations: 4 kB / 1.01 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0006216/0.3139, allocations: 330.9 kB / 1.01 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.01e-07/0.3139, allocations: 0 / 1.01 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001088/0.315, allocations: 195.7 kB / 1.011 GB, free: 10.57 MB / 0.6355 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 (16): * Single equations (assignments): 14 * 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.002774/0.3178, allocations: 1.572 MB / 1.012 GB, free: 9.09 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001167/0.319, allocations: 279.7 kB / 1.012 GB, free: 8.816 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.319, allocations: 0 / 1.012 GB, free: 8.816 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003414/0.3194, allocations: 95.83 kB / 1.013 GB, free: 8.723 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002093/0.3215, allocations: 216.8 kB / 1.013 GB, free: 8.52 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002762/0.3243, allocations: 1.464 MB / 1.014 GB, free: 6.988 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005245/0.3249, allocations: 0.8386 MB / 1.015 GB, free: 6.125 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0005578/0.3254, allocations: 87.77 kB / 1.015 GB, free: 6.039 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003032/0.3258, allocations: 147.4 kB / 1.015 GB, free: 5.895 MB / 0.6355 GB Notification: Performance of SimCode: time 9.72e-07/0.3258, allocations: 0 / 1.015 GB, free: 5.895 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05291/0.3787, allocations: 12.06 MB / 1.027 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003364/0.3791, allocations: 240.9 kB / 1.027 GB, free: 9.824 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.138/3.517, allocations: 0 / 1.027 GB, free: 9.824 MB / 0.6511 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.fmu > Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)