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.001233/0.001233, allocations: 100 kB / 15.05 MB, free: 1.105 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.001325/0.001326, allocations: 177.3 kB / 15.95 MB, free: 216 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.397/1.397, allocations: 223.2 MB / 239.9 MB, free: 5.457 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.396/2.396, allocations: 390.3 MB / 0.6653 GB, free: 3.051 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003366/0.0003366, allocations: 8 kB / 0.8146 GB, free: 14.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7632/0.7636, allocations: 142.3 MB / 0.9536 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01558/0.7792, allocations: 14.73 MB / 0.968 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0077/0.787, allocations: 4.247 MB / 0.9721 GB, free: 9.164 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006805/0.7877, allocations: 14.91 kB / 0.9721 GB, free: 9.156 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001016/0.7887, allocations: 239.3 kB / 0.9724 GB, free: 8.969 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001868/0.7906, allocations: 0.5624 MB / 0.9729 GB, free: 8.504 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002257/0.7929, allocations: 0.7516 MB / 0.9737 GB, free: 8.004 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001093/0.794, allocations: 0.5954 MB / 0.9742 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004526/0.7944, allocations: 257.5 kB / 0.9745 GB, free: 7.461 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005928/0.795, allocations: 337.7 kB / 0.9748 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003317/0.7954, allocations: 215 kB / 0.975 GB, free: 7.133 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.48e-05/0.7954, allocations: 15.78 kB / 0.975 GB, free: 7.133 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001001/0.7964, allocations: 462.1 kB / 0.9755 GB, free: 6.922 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001337/0.7966, allocations: 107.3 kB / 0.9756 GB, free: 6.855 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001162/0.7967, allocations: 116.5 kB / 0.9757 GB, free: 6.777 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0006619/0.7974, allocations: 0.5495 MB / 0.9762 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.7974, allocations: 1.188 kB / 0.9762 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.375e-06/0.7974, allocations: 3.938 kB / 0.9762 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.054e-06/0.7974, allocations: 0 / 0.9762 GB, free: 6.422 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.001192/0.7986, allocations: 0.7751 MB / 0.977 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.7987, allocations: 9.031 kB / 0.977 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.113e-05/0.7987, allocations: 62.31 kB / 0.977 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001469/0.7989, allocations: 58.38 kB / 0.9771 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006601/0.7995, allocations: 430 kB / 0.9775 GB, free: 5.289 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.543e-05/0.7996, allocations: 24.02 kB / 0.9775 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.699e-05/0.7996, allocations: 28.5 kB / 0.9776 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004991/0.8001, allocations: 292.6 kB / 0.9778 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.689e-06/0.8002, allocations: 0 / 0.9778 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.368e-05/0.8002, allocations: 6.688 kB / 0.9778 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/0.8002, allocations: 10.52 kB / 0.9779 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004208/0.8006, allocations: 198.2 kB / 0.978 GB, free: 4.973 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.00197/0.8026, allocations: 1.481 MB / 0.9795 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003333/0.803, allocations: 164.7 kB / 0.9796 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001712/0.8047, allocations: 1.281 MB / 0.9809 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.8047, allocations: 35.91 kB / 0.9809 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.503e-06/0.8047, allocations: 0 / 0.9809 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.000694/0.8054, allocations: 277.2 kB / 0.9812 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.8055, allocations: 54 kB / 0.9812 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007309/0.8062, allocations: 0.5766 MB / 0.9818 GB, free: 1.648 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.021e-05/0.8063, allocations: 31.83 kB / 0.9818 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002316/0.8065, allocations: 277.6 kB / 0.9821 GB, free: 1.367 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.507e-05/0.8066, allocations: 50.14 kB / 0.9822 GB, free: 1.324 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.299e-05/0.8066, allocations: 5.281 kB / 0.9822 GB, free: 1.32 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.8067, allocations: 362.7 kB / 0.9825 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001864/0.8069, allocations: 76.17 kB / 0.9826 GB, free: 0.9375 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003338/0.8073, allocations: 201.4 kB / 0.9828 GB, free: 0.7617 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002277/0.8075, allocations: 107.7 kB / 0.9829 GB, free: 0.7109 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.8075, allocations: 1.156 kB / 0.9829 GB, free: 0.7109 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006152/0.8082, allocations: 322.2 kB / 0.9832 GB, free: 0.543 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004366/0.8086, allocations: 0.962 MB / 0.9841 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.8086, allocations: 2.656 kB / 0.9841 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.8086, allocations: 4.875 kB / 0.9841 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002715/0.8089, allocations: 66.02 kB / 0.9842 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.53e-05/0.8089, allocations: 7.281 kB / 0.9842 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000354/0.8093, allocations: 53.05 kB / 0.9842 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-05/0.8093, allocations: 23.09 kB / 0.9843 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 8.195e-06/0.8094, allocations: 4.031 kB / 0.9843 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004784/0.8098, allocations: 249.4 kB / 0.9845 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.8099, allocations: 3.281 kB / 0.9845 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.326e-06/0.8099, allocations: 7.766 kB / 0.9845 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002239/0.8101, allocations: 61.22 kB / 0.9846 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.8101, allocations: 8.078 kB / 0.9846 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002941/0.8104, allocations: 43.92 kB / 0.9846 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.694e-05/0.8105, allocations: 14.95 kB / 0.9846 GB, free: 15.29 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.00024/0.8107, allocations: 259.3 kB / 0.9849 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.486e-05/0.8108, allocations: 50.03 kB / 0.9849 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005972/0.8114, allocations: 278.4 kB / 0.9852 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.8114, allocations: 2.031 kB / 0.9852 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.8114, allocations: 0 / 0.9852 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.8114, allocations: 0.9688 kB / 0.9852 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001133/0.8126, allocations: 0.7443 MB / 0.9859 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.8126, allocations: 1.406 kB / 0.9859 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001338/0.8127, allocations: 33.89 kB / 0.986 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.8127, allocations: 5.344 kB / 0.986 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.8128, allocations: 11.92 kB / 0.986 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.8128, allocations: 1.312 kB / 0.986 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.8128, allocations: 5.328 kB / 0.986 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005487/0.8133, allocations: 405.9 kB / 0.9864 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001786/0.8135, allocations: 160.3 kB / 0.9865 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.48e-05/0.8136, allocations: 7.953 kB / 0.9865 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002117/0.8138, allocations: 23.92 kB / 0.9866 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.925e-05/0.8139, allocations: 11.98 kB / 0.9866 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.8139, allocations: 4 kB / 0.9866 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0005023/0.8144, allocations: 426.8 kB / 0.987 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of sort global known variables: time 4.71e-07/0.8144, allocations: 0 / 0.987 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008828/0.8153, allocations: 227.6 kB / 0.9872 GB, free: 12.99 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.002153/0.8175, allocations: 1.606 MB / 0.9888 GB, free: 11.47 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0007717/0.8183, allocations: 328.3 kB / 0.9891 GB, free: 11.15 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.8183, allocations: 0 / 0.9891 GB, free: 11.15 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001985/0.8185, allocations: 91.89 kB / 0.9892 GB, free: 11.06 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0013/0.8198, allocations: 252.3 kB / 0.9894 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002918/0.8227, allocations: 2.939 MB / 0.9923 GB, free: 7.773 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004213/0.8231, allocations: 0.8584 MB / 0.9931 GB, free: 6.887 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0004178/0.8236, allocations: 104.2 kB / 0.9932 GB, free: 6.781 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001987/0.8238, allocations: 167.4 kB / 0.9934 GB, free: 6.617 MB / 0.7481 GB Notification: Performance of SimCode: time 9.92e-07/0.8238, allocations: 0 / 0.9934 GB, free: 6.617 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0287/0.8525, allocations: 14.02 MB / 1.007 GB, free: 8.871 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001733/0.8527, allocations: 232.3 kB / 1.007 GB, free: 8.629 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.132/2.985, allocations: 7.938 kB / 1.007 GB, free: 8.621 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