Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="Buildings_latest_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.000917/0.0009172, allocations: 84.38 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.00101/0.00101, 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 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 223.2 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.589/2.589, allocations: 409.4 MB / 0.684 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004316/0.0004317, allocations: 23.94 kB / 0.8378 GB, free: 6.508 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8634/0.8639, allocations: 146.8 MB / 0.9811 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01421/0.8781, allocations: 14.22 MB / 0.995 GB, free: 8.129 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.005985/0.8841, allocations: 4.07 MB / 0.999 GB, free: 4.051 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005519/0.8847, allocations: 15.88 kB / 0.999 GB, free: 4.035 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0008833/0.8856, allocations: 194.9 kB / 0.9992 GB, free: 3.844 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.001279/0.8869, allocations: 497.4 kB / 0.9997 GB, free: 3.355 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001767/0.8887, allocations: 0.5994 MB / 1 GB, free: 2.766 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001241/0.8899, allocations: 1.122 MB / 1.001 GB, free: 1.641 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003935/0.8903, allocations: 268.7 kB / 1.002 GB, free: 1.379 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005706/0.8909, allocations: 362.4 kB / 1.002 GB, free: 1.023 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003726/0.8913, allocations: 298.7 kB / 1.002 GB, free: 0.7305 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 4.446e-05/0.8913, allocations: 16 kB / 1.002 GB, free: 0.7148 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009683/0.8923, allocations: 0.538 MB / 1.003 GB, free: 180 kB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 9.877e-05/0.8924, allocations: 83.66 kB / 1.003 GB, free: 96 kB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001171/0.8925, allocations: 109.5 kB / 1.003 GB, free: 15.98 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0006615/0.8932, allocations: 0.5222 MB / 1.003 GB, free: 15.45 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.8932, allocations: 3.938 kB / 1.003 GB, free: 15.45 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.333e-06/0.8932, allocations: 0 / 1.003 GB, free: 15.45 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.8933, allocations: 4 kB / 1.003 GB, free: 15.45 MB / 0.7637 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.001112/0.8944, allocations: 0.7628 MB / 1.004 GB, free: 14.64 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.8944, allocations: 8.031 kB / 1.004 GB, free: 14.63 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.135e-05/0.8945, allocations: 58.48 kB / 1.004 GB, free: 14.56 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.461e-05/0.8946, allocations: 51.44 kB / 1.004 GB, free: 14.51 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005234/0.8951, allocations: 397 kB / 1.005 GB, free: 14.08 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.435e-05/0.8951, allocations: 20.44 kB / 1.005 GB, free: 14.06 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.791e-05/0.8952, allocations: 24 kB / 1.005 GB, free: 14.04 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004123/0.8956, allocations: 215.2 kB / 1.005 GB, free: 13.82 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.8956, allocations: 0 / 1.005 GB, free: 13.82 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.173e-05/0.8956, allocations: 11.95 kB / 1.005 GB, free: 13.81 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.8957, allocations: 8 kB / 1.005 GB, free: 13.8 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003617/0.896, allocations: 181.6 kB / 1.005 GB, free: 13.62 MB / 0.7637 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.001454/0.8975, allocations: 0.938 MB / 1.006 GB, free: 12.61 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002745/0.8978, allocations: 138.6 kB / 1.006 GB, free: 12.46 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001473/0.8979, allocations: 76.81 kB / 1.006 GB, free: 12.39 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002729/0.8982, allocations: 340.5 kB / 1.007 GB, free: 11.98 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.8983, allocations: 34.56 kB / 1.007 GB, free: 11.94 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=14): time 1.443e-06/0.8983, allocations: 3.938 kB / 1.007 GB, free: 11.93 MB / 0.7637 GB Notification: Performance of matching and sorting (n=14): time 0.0005961/0.8989, allocations: 249 kB / 1.007 GB, free: 11.68 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.8989, allocations: 55.41 kB / 1.007 GB, free: 11.62 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005166/0.8994, allocations: 481.9 kB / 1.007 GB, free: 11.13 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 2.83e-05/0.8995, allocations: 33.7 kB / 1.007 GB, free: 11.09 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001738/0.8997, allocations: 228.5 kB / 1.008 GB, free: 10.87 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 4.364e-05/0.8997, allocations: 43.36 kB / 1.008 GB, free: 10.82 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.007e-05/0.8997, allocations: 0 / 1.008 GB, free: 10.82 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.8999, allocations: 354.8 kB / 1.008 GB, free: 10.47 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001701/0.9001, allocations: 67.95 kB / 1.008 GB, free: 10.4 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002594/0.9003, allocations: 161 kB / 1.008 GB, free: 10.22 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001997/0.9005, allocations: 83.91 kB / 1.008 GB, free: 10.14 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.9005, allocations: 0 / 1.008 GB, free: 10.14 MB / 0.7637 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004814/0.901, allocations: 254.5 kB / 1.009 GB, free: 9.883 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 7.312e-05/0.9011, allocations: 110.7 kB / 1.009 GB, free: 9.762 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.9011, allocations: 0 / 1.009 GB, free: 9.762 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.9012, allocations: 8 kB / 1.009 GB, free: 9.754 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002261/0.9014, allocations: 55.86 kB / 1.009 GB, free: 9.699 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.9014, allocations: 0 / 1.009 GB, free: 9.699 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003097/0.9017, allocations: 55.69 kB / 1.009 GB, free: 9.645 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.535e-05/0.9018, allocations: 11.98 kB / 1.009 GB, free: 9.633 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 7.604e-06/0.9018, allocations: 4 kB / 1.009 GB, free: 9.629 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003982/0.9022, allocations: 190.4 kB / 1.009 GB, free: 9.445 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.9022, allocations: 4 kB / 1.009 GB, free: 9.441 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.707e-06/0.9022, allocations: 0 / 1.009 GB, free: 9.441 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000192/0.9024, allocations: 51.91 kB / 1.009 GB, free: 9.391 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.9024, allocations: 4 kB / 1.009 GB, free: 9.387 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002855/0.9027, allocations: 43.81 kB / 1.009 GB, free: 9.344 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.259e-05/0.9027, allocations: 7.984 kB / 1.009 GB, free: 9.336 MB / 0.7637 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.0002041/0.9029, allocations: 241 kB / 1.009 GB, free: 9.09 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.82e-05/0.903, allocations: 43.44 kB / 1.009 GB, free: 9.047 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005455/0.9036, allocations: 261.2 kB / 1.01 GB, free: 8.781 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.9036, allocations: 0 / 1.01 GB, free: 8.781 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.9036, allocations: 0 / 1.01 GB, free: 8.781 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.074e-06/0.9036, allocations: 4 kB / 1.01 GB, free: 8.777 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009938/0.9046, allocations: 0.7177 MB / 1.01 GB, free: 7.988 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.9046, allocations: 192 / 1.01 GB, free: 7.988 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001278/0.9048, allocations: 36.09 kB / 1.01 GB, free: 7.953 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.9048, allocations: 4 kB / 1.01 GB, free: 7.949 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/0.9048, allocations: 7.984 kB / 1.01 GB, free: 7.941 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.614e-06/0.9048, allocations: 3.938 kB / 1.01 GB, free: 7.938 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.9048, allocations: 4 kB / 1.01 GB, free: 7.934 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004524/0.9053, allocations: 354.1 kB / 1.011 GB, free: 7.559 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001467/0.9054, allocations: 148.4 kB / 1.011 GB, free: 7.395 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.741e-05/0.9055, allocations: 8 kB / 1.011 GB, free: 7.387 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002195/0.9057, allocations: 19.98 kB / 1.011 GB, free: 7.367 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.987e-05/0.9058, allocations: 23.92 kB / 1.011 GB, free: 7.344 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.9058, allocations: 8 kB / 1.011 GB, free: 7.336 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0003643/0.9062, allocations: 326.9 kB / 1.011 GB, free: 7.02 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.332e-06/0.9062, allocations: 0 / 1.011 GB, free: 7.02 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.000663/0.9069, allocations: 211.5 kB / 1.011 GB, free: 6.812 MB / 0.7637 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.001786/0.9086, allocations: 1.258 MB / 1.013 GB, free: 5.66 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0006433/0.9093, allocations: 278.1 kB / 1.013 GB, free: 5.391 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.9093, allocations: 0 / 1.013 GB, free: 5.391 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0001832/0.9095, allocations: 87.89 kB / 1.013 GB, free: 5.305 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001213/0.9107, allocations: 216.1 kB / 1.013 GB, free: 5.094 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003898/0.9146, allocations: 2.274 MB / 1.015 GB, free: 2.762 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004285/0.9151, allocations: 0.8311 MB / 1.016 GB, free: 1.906 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0003547/0.9154, allocations: 95.38 kB / 1.016 GB, free: 1.809 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002028/0.9157, allocations: 143.4 kB / 1.016 GB, free: 1.668 MB / 0.7637 GB Notification: Performance of SimCode: time 3.41e-07/0.9157, allocations: 0 / 1.016 GB, free: 1.668 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02801/0.9437, allocations: 12.25 MB / 1.028 GB, free: 5.695 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001832/0.9439, allocations: 237.8 kB / 1.029 GB, free: 5.438 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.143/3.087, allocations: 0 / 1.029 GB, free: 5.438 MB / 0.7794 GB (rm -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.fmu > Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_res.mat does not exist to compare? outputFormat=mat