Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.TwoWayValvesTable,fileNamePrefix="Buildings_9_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="Buildings_9_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",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.001062/0.001062, allocations: 90.75 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.0009199/0.0009199, 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.362/1.362, allocations: 223.3 MB / 240 MB, free: 5.375 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.407/2.407, allocations: 390.4 MB / 0.6655 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003637/0.0003638, allocations: 8 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8292/0.8296, allocations: 142.3 MB / 0.9538 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.0184/0.8481, allocations: 14.22 MB / 0.9677 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01027/0.8584, allocations: 4.047 MB / 0.9717 GB, free: 9.453 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001305/0.8597, allocations: 15.03 kB / 0.9717 GB, free: 9.445 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001573/0.8613, allocations: 204.3 kB / 0.9719 GB, free: 9.289 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.00279/0.8642, allocations: 494.6 kB / 0.9724 GB, free: 8.906 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002583/0.8668, allocations: 0.5992 MB / 0.973 GB, free: 8.5 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002145/0.8689, allocations: 1.129 MB / 0.9741 GB, free: 7.824 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008449/0.8698, allocations: 258.2 kB / 0.9743 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001107/0.8709, allocations: 369.7 kB / 0.9747 GB, free: 7.465 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008307/0.8718, allocations: 301.8 kB / 0.9749 GB, free: 7.297 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001399/0.8719, allocations: 13.75 kB / 0.975 GB, free: 7.297 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001617/0.8735, allocations: 0.5402 MB / 0.9755 GB, free: 7.008 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001945/0.8737, allocations: 82.62 kB / 0.9756 GB, free: 6.949 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002806/0.874, allocations: 106.6 kB / 0.9757 GB, free: 6.879 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001153/0.8752, allocations: 0.5276 MB / 0.9762 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.326e-06/0.8752, allocations: 1.094 kB / 0.9762 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.324e-06/0.8752, allocations: 0 / 0.9762 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.947e-05/0.8753, allocations: 0 / 0.9762 GB, free: 6.543 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001869/0.8771, allocations: 0.7546 MB / 0.9769 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.8772, allocations: 8.594 kB / 0.9769 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002213/0.8774, allocations: 57.84 kB / 0.977 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001903/0.8776, allocations: 58.45 kB / 0.977 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009817/0.8786, allocations: 385.9 kB / 0.9774 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.678e-05/0.8787, allocations: 24.02 kB / 0.9774 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.234e-05/0.8787, allocations: 26.84 kB / 0.9775 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006027/0.8794, allocations: 212.6 kB / 0.9777 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.8794, allocations: 11.88 kB / 0.9777 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.078e-05/0.8794, allocations: 6 kB / 0.9777 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.8794, allocations: 5.188 kB / 0.9777 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004777/0.8799, allocations: 174.6 kB / 0.9778 GB, free: 5.223 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.002317/0.8822, allocations: 0.9477 MB / 0.9788 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003629/0.8826, allocations: 138.8 kB / 0.9789 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000184/0.8828, allocations: 81.97 kB / 0.979 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003459/0.8832, allocations: 343.6 kB / 0.9793 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.8832, allocations: 39.78 kB / 0.9793 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=14): time 2.635e-06/0.8832, allocations: 0 / 0.9793 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14): time 0.0007548/0.884, allocations: 256.3 kB / 0.9796 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/0.884, allocations: 53.03 kB / 0.9796 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006879/0.8847, allocations: 470 kB / 0.9801 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.653e-05/0.8848, allocations: 32.36 kB / 0.9801 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002367/0.885, allocations: 240.1 kB / 0.9803 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.243e-05/0.8851, allocations: 41.86 kB / 0.9804 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.235e-05/0.8851, allocations: 5.469 kB / 0.9804 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001822/0.8853, allocations: 352.4 kB / 0.9807 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001919/0.8855, allocations: 79.48 kB / 0.9808 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002793/0.8858, allocations: 155.8 kB / 0.981 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000241/0.886, allocations: 83.23 kB / 0.981 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.886, allocations: 1.156 kB / 0.981 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005891/0.8866, allocations: 260.7 kB / 0.9813 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.363e-05/0.8867, allocations: 110 kB / 0.9814 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.8867, allocations: 1.031 kB / 0.9814 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.8868, allocations: 2.281 kB / 0.9814 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002482/0.887, allocations: 49.25 kB / 0.9814 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.887, allocations: 1.375 kB / 0.9814 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004029/0.8874, allocations: 48.34 kB / 0.9815 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.859e-05/0.8875, allocations: 14.52 kB / 0.9815 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.448e-06/0.8875, allocations: 7.953 kB / 0.9815 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004209/0.8879, allocations: 194.8 kB / 0.9817 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.8879, allocations: 0 / 0.9817 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.75e-06/0.888, allocations: 2.875 kB / 0.9817 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002021/0.8882, allocations: 44.03 kB / 0.9817 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.8882, allocations: 6.094 kB / 0.9817 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003579/0.8885, allocations: 38.91 kB / 0.9818 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.83e-05/0.8886, allocations: 12.06 kB / 0.9818 GB, free: 2.141 MB / 0.7325 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.0002419/0.8888, allocations: 240.2 kB / 0.982 GB, free: 1.918 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.703e-05/0.8889, allocations: 51.17 kB / 0.9821 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006167/0.8896, allocations: 263 kB / 0.9823 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/0.8896, allocations: 2.938 kB / 0.9823 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/0.8896, allocations: 4 kB / 0.9823 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.8896, allocations: 3.938 kB / 0.9823 GB, free: 1.723 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001327/0.8909, allocations: 0.7139 MB / 0.983 GB, free: 1.137 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.261e-06/0.891, allocations: 1.156 kB / 0.983 GB, free: 1.137 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001337/0.8911, allocations: 29.11 kB / 0.9831 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-06/0.8911, allocations: 1.531 kB / 0.9831 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.01e-05/0.8911, allocations: 11.7 kB / 0.9831 GB, free: 1.125 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.8911, allocations: 1.5 kB / 0.9831 GB, free: 1.125 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.8912, allocations: 4.969 kB / 0.9831 GB, free: 1.121 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005577/0.8917, allocations: 359.4 kB / 0.9834 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002196/0.8919, allocations: 145.7 kB / 0.9836 GB, free: 0.707 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.307e-05/0.892, allocations: 10.11 kB / 0.9836 GB, free: 0.6992 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002429/0.8923, allocations: 22.64 kB / 0.9836 GB, free: 0.6914 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.164e-05/0.8923, allocations: 18.28 kB / 0.9836 GB, free: 0.6797 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/0.8924, allocations: 8.531 kB / 0.9836 GB, free: 0.6758 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004535/0.8928, allocations: 332.6 kB / 0.9839 GB, free: 488 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8928, allocations: 1.625 kB / 0.9839 GB, free: 488 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008644/0.8937, allocations: 201.7 kB / 0.9841 GB, free: 440 kB / 0.7325 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.002051/0.8958, allocations: 1.256 MB / 0.9854 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0006892/0.8965, allocations: 278.5 kB / 0.9856 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.8965, allocations: 3.938 kB / 0.9856 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001923/0.8967, allocations: 92.08 kB / 0.9857 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001224/0.8979, allocations: 211.4 kB / 0.9859 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004134/0.9021, allocations: 2.282 MB / 0.9881 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004651/0.9026, allocations: 0.8194 MB / 0.9889 GB, free: 11.67 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003812/0.9029, allocations: 95.75 kB / 0.989 GB, free: 11.58 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002/0.9032, allocations: 143.4 kB / 0.9892 GB, free: 11.44 MB / 0.7481 GB Notification: Performance of SimCode: time 7.41e-07/0.9032, allocations: 0 / 0.9892 GB, free: 11.44 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03322/0.9364, allocations: 12.26 MB / 1.001 GB, free: 15.45 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002826/0.9367, allocations: 234.7 kB / 1.001 GB, free: 15.21 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.061/2.998, allocations: 0 / 1.001 GB, free: 15.21 MB / 0.7637 GB (rm -f Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.fmu > Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_res.mat does not exist to compare? outputFormat=mat