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.001757/0.001756, allocations: 99.86 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.002233/0.002233, 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 2.823/2.823, allocations: 223.2 MB / 239.9 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 5.14/5.14, allocations: 409.2 MB / 0.6838 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0009163/0.0009167, allocations: 12 kB / 0.8375 GB, free: 6.578 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.583/1.583, allocations: 146.8 MB / 0.9809 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.02677/1.61, allocations: 13.1 MB / 0.9937 GB, free: 9.137 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.009272/1.62, allocations: 3.753 MB / 0.9973 GB, free: 5.375 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005077/1.625, allocations: 11.88 kB / 0.9973 GB, free: 5.363 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001712/1.627, allocations: 258.8 kB / 0.9976 GB, free: 5.109 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.003834/1.631, allocations: 0.6143 MB / 0.9982 GB, free: 4.496 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.00424/1.635, allocations: 0.7705 MB / 0.9989 GB, free: 3.738 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.002409/1.637, allocations: 0.6365 MB / 0.9996 GB, free: 3.102 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006884/1.638, allocations: 272.7 kB / 0.9998 GB, free: 2.836 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009426/1.639, allocations: 342.8 kB / 1 GB, free: 2.5 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004565/1.639, allocations: 227 kB / 1 GB, free: 2.277 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 5.679e-05/1.639, allocations: 12 kB / 1 GB, free: 2.266 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001524/1.641, allocations: 399.4 kB / 1.001 GB, free: 1.875 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001554/1.641, allocations: 79.66 kB / 1.001 GB, free: 1.797 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001798/1.641, allocations: 109.5 kB / 1.001 GB, free: 1.684 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001083/1.642, allocations: 490.7 kB / 1.001 GB, free: 1.203 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/1.642, allocations: 0 / 1.001 GB, free: 1.203 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.986e-06/1.642, allocations: 0 / 1.001 GB, free: 1.203 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 9.638e-06/1.642, allocations: 4 kB / 1.001 GB, free: 1.199 MB / 0.7481 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.001829/1.644, allocations: 0.7395 MB / 1.002 GB, free: 420 kB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 8.031e-05/1.644, allocations: 12.03 kB / 1.002 GB, free: 408 kB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.398e-05/1.644, allocations: 50.55 kB / 1.002 GB, free: 348 kB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001435/1.645, allocations: 51.44 kB / 1.002 GB, free: 296 kB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009366/1.646, allocations: 393 kB / 1.003 GB, free: 15.86 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.842e-05/1.646, allocations: 20.44 kB / 1.003 GB, free: 15.84 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.923e-05/1.646, allocations: 28 kB / 1.003 GB, free: 15.82 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006552/1.646, allocations: 219.2 kB / 1.003 GB, free: 15.6 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/1.646, allocations: 0 / 1.003 GB, free: 15.6 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.971e-05/1.646, allocations: 15.95 kB / 1.003 GB, free: 15.58 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.359e-05/1.646, allocations: 4 kB / 1.003 GB, free: 15.58 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005742/1.647, allocations: 177.6 kB / 1.003 GB, free: 15.4 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.002747/1.65, allocations: 0.9458 MB / 1.004 GB, free: 14.38 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005765/1.65, allocations: 138.6 kB / 1.004 GB, free: 14.23 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006158/1.651, allocations: 336.5 kB / 1.004 GB, free: 13.83 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.979e-05/1.651, allocations: 42.42 kB / 1.004 GB, free: 13.78 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=14): time 3.246e-06/1.651, allocations: 4 kB / 1.004 GB, free: 13.78 MB / 0.7637 GB Notification: Performance of matching and sorting (n=14): time 0.001232/1.652, allocations: 251 kB / 1.005 GB, free: 13.53 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.283e-05/1.653, allocations: 51.41 kB / 1.005 GB, free: 13.46 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/1.654, allocations: 478 kB / 1.005 GB, free: 12.98 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 6.088e-05/1.654, allocations: 33.64 kB / 1.005 GB, free: 12.95 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003171/1.654, allocations: 228.6 kB / 1.005 GB, free: 12.72 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 6.697e-05/1.654, allocations: 43.3 kB / 1.006 GB, free: 12.68 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.741e-05/1.654, allocations: 4 kB / 1.006 GB, free: 12.67 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0002799/1.654, allocations: 358.7 kB / 1.006 GB, free: 12.31 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002498/1.655, allocations: 75.95 kB / 1.006 GB, free: 12.24 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003736/1.655, allocations: 143.6 kB / 1.006 GB, free: 12.07 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002846/1.655, allocations: 89.67 kB / 1.006 GB, free: 11.98 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/1.655, allocations: 0 / 1.006 GB, free: 11.98 MB / 0.7637 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007275/1.656, allocations: 253 kB / 1.006 GB, free: 11.73 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002212/1.656, allocations: 280.3 kB / 1.007 GB, free: 11.44 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/1.656, allocations: 96 / 1.007 GB, free: 11.44 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.508e-05/1.656, allocations: 3.984 kB / 1.007 GB, free: 11.43 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003538/1.657, allocations: 59.91 kB / 1.007 GB, free: 11.38 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/1.657, allocations: 0 / 1.007 GB, free: 11.38 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005201/1.657, allocations: 51.59 kB / 1.007 GB, free: 11.32 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.374e-05/1.657, allocations: 8 kB / 1.007 GB, free: 11.32 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/1.657, allocations: 4 kB / 1.007 GB, free: 11.31 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005835/1.658, allocations: 197.8 kB / 1.007 GB, free: 11.12 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.425e-06/1.658, allocations: 0 / 1.007 GB, free: 11.12 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.052e-06/1.658, allocations: 4 kB / 1.007 GB, free: 11.12 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002732/1.658, allocations: 51.91 kB / 1.007 GB, free: 11.07 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/1.658, allocations: 4 kB / 1.007 GB, free: 11.06 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000421/1.659, allocations: 39.81 kB / 1.007 GB, free: 11.02 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.104e-05/1.659, allocations: 11.95 kB / 1.007 GB, free: 11.01 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.0003729/1.659, allocations: 242.4 kB / 1.007 GB, free: 10.77 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/1.659, allocations: 43.44 kB / 1.007 GB, free: 10.72 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008299/1.66, allocations: 253.3 kB / 1.008 GB, free: 10.46 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.545e-05/1.66, allocations: 0 / 1.008 GB, free: 10.46 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.345e-05/1.66, allocations: 7.984 kB / 1.008 GB, free: 10.46 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/1.66, allocations: 0 / 1.008 GB, free: 10.46 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001546/1.662, allocations: 0.7319 MB / 1.008 GB, free: 9.656 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.812e-06/1.662, allocations: 3.938 kB / 1.008 GB, free: 9.652 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001746/1.662, allocations: 27.98 kB / 1.008 GB, free: 9.625 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.795e-06/1.662, allocations: 4 kB / 1.008 GB, free: 9.621 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.31e-05/1.662, allocations: 7.953 kB / 1.008 GB, free: 9.613 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.932e-06/1.662, allocations: 3.984 kB / 1.008 GB, free: 9.609 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/1.662, allocations: 0 / 1.008 GB, free: 9.609 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007384/1.663, allocations: 405.1 kB / 1.009 GB, free: 9.16 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002195/1.663, allocations: 144.4 kB / 1.009 GB, free: 9 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.355e-05/1.663, allocations: 8 kB / 1.009 GB, free: 8.992 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003365/1.663, allocations: 27.97 kB / 1.009 GB, free: 8.965 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.664e-05/1.664, allocations: 19.94 kB / 1.009 GB, free: 8.945 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.038e-05/1.664, allocations: 4 kB / 1.009 GB, free: 8.941 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0005326/1.664, allocations: 326.9 kB / 1.009 GB, free: 8.625 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.11e-07/1.664, allocations: 3.938 kB / 1.009 GB, free: 8.621 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.00106/1.665, allocations: 199.7 kB / 1.009 GB, free: 8.426 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.002885/1.668, allocations: 1.587 MB / 1.011 GB, free: 6.93 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001003/1.669, allocations: 277.8 kB / 1.011 GB, free: 6.66 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/1.669, allocations: 0 / 1.011 GB, free: 6.66 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0002805/1.669, allocations: 87.89 kB / 1.011 GB, free: 6.574 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001805/1.671, allocations: 222.1 kB / 1.012 GB, free: 6.359 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003028/1.674, allocations: 1.477 MB / 1.013 GB, free: 4.812 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005716/1.675, allocations: 0.835 MB / 1.014 GB, free: 3.953 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0005468/1.675, allocations: 91.39 kB / 1.014 GB, free: 3.863 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003248/1.676, allocations: 139.4 kB / 1.014 GB, free: 3.727 MB / 0.7637 GB Notification: Performance of SimCode: time 2.605e-06/1.676, allocations: 0 / 1.014 GB, free: 3.727 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09281/1.769, allocations: 12 MB / 1.026 GB, free: 8.004 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005318/1.769, allocations: 233.7 kB / 1.026 GB, free: 7.77 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.195/5.964, allocations: 0 / 1.026 GB, free: 7.77 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