Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_9_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="Buildings_9_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.001095/0.001095, allocations: 91.69 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.001144/0.001144, 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 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 223.3 MB / 240 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.476/2.476, allocations: 390.4 MB / 0.6655 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003614/0.0003615, allocations: 8 kB / 0.8149 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7693/0.7697, allocations: 142.3 MB / 0.9539 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01624/0.786, allocations: 16 MB / 0.9695 GB, free: 11.4 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.008356/0.7944, allocations: 4.597 MB / 0.974 GB, free: 7.715 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007375/0.7952, allocations: 15.19 kB / 0.974 GB, free: 7.707 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0009517/0.7961, allocations: 185.9 kB / 0.9742 GB, free: 7.566 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001694/0.7978, allocations: 0.5027 MB / 0.9747 GB, free: 7.168 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002305/0.8002, allocations: 0.6086 MB / 0.9752 GB, free: 6.754 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001722/0.8019, allocations: 1.087 MB / 0.9763 GB, free: 6.105 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000516/0.8024, allocations: 262.9 kB / 0.9766 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007705/0.8032, allocations: 365.2 kB / 0.9769 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005483/0.8038, allocations: 293.9 kB / 0.9772 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.242e-05/0.8038, allocations: 15.31 kB / 0.9772 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001388/0.8052, allocations: 0.5849 MB / 0.9778 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001897/0.8054, allocations: 114.9 kB / 0.9779 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001417/0.8056, allocations: 117.2 kB / 0.978 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0008801/0.8064, allocations: 0.593 MB / 0.9786 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.8065, allocations: 0 / 0.9786 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.144e-06/0.8065, allocations: 0.8438 kB / 0.9786 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.8065, allocations: 0 / 0.9786 GB, free: 4.75 MB / 0.7325 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.001362/0.8078, allocations: 0.7944 MB / 0.9794 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.765e-05/0.8079, allocations: 9.031 kB / 0.9794 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.468e-05/0.808, allocations: 62.47 kB / 0.9794 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001827/0.8082, allocations: 61.69 kB / 0.9795 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006905/0.8089, allocations: 425.5 kB / 0.9799 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.126e-05/0.8089, allocations: 25.61 kB / 0.9799 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.279e-05/0.809, allocations: 31.34 kB / 0.9799 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005896/0.8096, allocations: 290.4 kB / 0.9802 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.8096, allocations: 1.062 kB / 0.9802 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.719e-05/0.8097, allocations: 10.41 kB / 0.9802 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.425e-05/0.8097, allocations: 9.844 kB / 0.9802 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004716/0.8102, allocations: 199.5 kB / 0.9804 GB, free: 3.277 MB / 0.7325 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.002331/0.8125, allocations: 1.476 MB / 0.9819 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003824/0.8129, allocations: 174.3 kB / 0.982 GB, free: 1.867 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002009/0.8131, allocations: 86.61 kB / 0.9821 GB, free: 1.824 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001911/0.815, allocations: 1.29 MB / 0.9834 GB, free: 496 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.8151, allocations: 31.59 kB / 0.9834 GB, free: 456 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 2.315e-06/0.8151, allocations: 0 / 0.9834 GB, free: 456 kB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0006706/0.8158, allocations: 265.3 kB / 0.9837 GB, free: 320 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/0.8158, allocations: 53.44 kB / 0.9837 GB, free: 256 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007989/0.8166, allocations: 0.5811 MB / 0.9843 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.976e-05/0.8167, allocations: 31.14 kB / 0.9843 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002434/0.8169, allocations: 269.1 kB / 0.9846 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.841e-05/0.817, allocations: 55.16 kB / 0.9846 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.338e-05/0.817, allocations: 5.531 kB / 0.9846 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001806/0.8172, allocations: 362.4 kB / 0.985 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001981/0.8174, allocations: 84.38 kB / 0.985 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003144/0.8177, allocations: 206.1 kB / 0.9852 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002295/0.818, allocations: 101.7 kB / 0.9853 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.818, allocations: 1.594 kB / 0.9853 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006001/0.8186, allocations: 324.9 kB / 0.9857 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001196/0.8187, allocations: 158 kB / 0.9858 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.8187, allocations: 6.656 kB / 0.9858 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.8188, allocations: 8.141 kB / 0.9858 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002696/0.819, allocations: 66.62 kB / 0.9859 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.819, allocations: 3.344 kB / 0.9859 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003556/0.8194, allocations: 48.66 kB / 0.9859 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-05/0.8195, allocations: 19.19 kB / 0.9859 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.8195, allocations: 4.844 kB / 0.986 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006058/0.8201, allocations: 253.4 kB / 0.9862 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.845e-06/0.8201, allocations: 0 / 0.9862 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.111e-06/0.8201, allocations: 11.98 kB / 0.9862 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002187/0.8203, allocations: 63.91 kB / 0.9863 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.8204, allocations: 8.031 kB / 0.9863 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002854/0.8207, allocations: 55.62 kB / 0.9863 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.469e-05/0.8207, allocations: 16 kB / 0.9863 GB, free: 14.23 MB / 0.7481 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.0002606/0.821, allocations: 253 kB / 0.9866 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.997e-05/0.821, allocations: 51.39 kB / 0.9866 GB, free: 13.92 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005666/0.8216, allocations: 265.7 kB / 0.9869 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.8216, allocations: 0 / 0.9869 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.8217, allocations: 3.953 kB / 0.9869 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.8217, allocations: 0 / 0.9869 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001253/0.8229, allocations: 0.7512 MB / 0.9876 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.8229, allocations: 0 / 0.9876 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001275/0.8231, allocations: 39.92 kB / 0.9877 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.8231, allocations: 0 / 0.9877 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.8231, allocations: 8.125 kB / 0.9877 GB, free: 12.78 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/0.8231, allocations: 4 kB / 0.9877 GB, free: 12.78 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.8231, allocations: 0 / 0.9877 GB, free: 12.78 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005608/0.8237, allocations: 370.1 kB / 0.988 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001679/0.8239, allocations: 152.4 kB / 0.9882 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.646e-05/0.8239, allocations: 4 kB / 0.9882 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000204/0.8241, allocations: 19.98 kB / 0.9882 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.845e-05/0.8242, allocations: 19.94 kB / 0.9882 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/0.8242, allocations: 7.984 kB / 0.9882 GB, free: 12.17 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004787/0.8247, allocations: 414.8 kB / 0.9886 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8247, allocations: 0 / 0.9886 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008573/0.8256, allocations: 227.6 kB / 0.9888 GB, free: 11.54 MB / 0.7481 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.001942/0.8275, allocations: 1.29 MB / 0.9901 GB, free: 10.36 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0007832/0.8283, allocations: 330 kB / 0.9904 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.8283, allocations: 0 / 0.9904 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001915/0.8285, allocations: 91.83 kB / 0.9905 GB, free: 9.949 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001332/0.8299, allocations: 252.5 kB / 0.9907 GB, free: 9.707 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004691/0.8346, allocations: 2.708 MB / 0.9934 GB, free: 6.906 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006592/0.8353, allocations: 0.8429 MB / 0.9942 GB, free: 6.035 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000449/0.8357, allocations: 108.2 kB / 0.9943 GB, free: 5.926 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002538/0.836, allocations: 167.3 kB / 0.9945 GB, free: 5.762 MB / 0.7481 GB Notification: Performance of SimCode: time 1.102e-06/0.836, allocations: 0 / 0.9945 GB, free: 5.762 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03272/0.8687, allocations: 14.29 MB / 1.008 GB, free: 7.758 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002534/0.869, allocations: 233.4 kB / 1.009 GB, free: 7.52 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.14/3.009, allocations: 0 / 1.009 GB, free: 7.52 MB / 0.7637 GB (rm -f Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable.fmu > Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable_res.mat does not exist to compare? outputFormat=mat