Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.TwoWayValveTable,fileNamePrefix="Buildings_latest_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="Buildings_latest_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.00196/0.00196, allocations: 100.2 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.002292/0.002292, allocations: 177.3 kB / 15.94 MB, free: 228 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.655/2.655, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 5.198/5.198, allocations: 409.2 MB / 0.6838 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006034/0.0006039, allocations: 12 kB / 0.8375 GB, free: 6.574 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.772/1.773, allocations: 146.8 MB / 0.9809 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.03342/1.806, allocations: 14.74 MB / 0.9953 GB, free: 7.523 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01219/1.819, allocations: 4.232 MB / 0.9994 GB, free: 3.277 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00132/1.82, allocations: 11.88 kB / 0.9994 GB, free: 3.266 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001981/1.822, allocations: 238.9 kB / 0.9996 GB, free: 3.031 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.003927/1.826, allocations: 0.5646 MB / 1 GB, free: 2.465 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.004931/1.831, allocations: 0.7581 MB / 1.001 GB, free: 1.719 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.00226/1.833, allocations: 0.5934 MB / 1.002 GB, free: 1.125 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001263/1.835, allocations: 261 kB / 1.002 GB, free: 0.8672 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00161/1.836, allocations: 330.8 kB / 1.002 GB, free: 0.543 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008775/1.837, allocations: 215 kB / 1.002 GB, free: 340 kB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001746/1.837, allocations: 20 kB / 1.002 GB, free: 320 kB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002096/1.839, allocations: 463.3 kB / 1.003 GB, free: 15.86 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0002927/1.84, allocations: 103.6 kB / 1.003 GB, free: 15.76 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0003549/1.84, allocations: 117.4 kB / 1.003 GB, free: 15.64 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.002024/1.842, allocations: 0.5494 MB / 1.003 GB, free: 15.09 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/1.842, allocations: 0 / 1.003 GB, free: 15.09 MB / 0.7637 GB Notification: Performance of FrontEnd: time 5.771e-06/1.842, allocations: 0 / 1.003 GB, free: 15.09 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.118e-05/1.842, allocations: 0 / 1.003 GB, free: 15.09 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.003439/1.846, allocations: 0.7823 MB / 1.004 GB, free: 14.25 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001001/1.846, allocations: 8.031 kB / 1.004 GB, free: 14.25 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002264/1.846, allocations: 58.55 kB / 1.004 GB, free: 14.18 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005688/1.847, allocations: 63.28 kB / 1.004 GB, free: 14.12 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001783/1.849, allocations: 428.8 kB / 1.005 GB, free: 13.66 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.34e-05/1.849, allocations: 24.56 kB / 1.005 GB, free: 13.63 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/1.849, allocations: 28 kB / 1.005 GB, free: 13.61 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/1.85, allocations: 286.2 kB / 1.005 GB, free: 13.31 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/1.85, allocations: 0 / 1.005 GB, free: 13.31 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.95e-05/1.85, allocations: 12 kB / 1.005 GB, free: 13.3 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.768e-05/1.85, allocations: 4 kB / 1.005 GB, free: 13.29 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007444/1.851, allocations: 202 kB / 1.005 GB, free: 13.09 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.004159/1.855, allocations: 1.484 MB / 1.007 GB, free: 11.5 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000596/1.855, allocations: 166.7 kB / 1.007 GB, free: 11.33 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003752/1.859, allocations: 1.284 MB / 1.008 GB, free: 9.855 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.321e-05/1.859, allocations: 38.56 kB / 1.008 GB, free: 9.809 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=15): time 3.517e-06/1.859, allocations: 0 / 1.008 GB, free: 9.809 MB / 0.7637 GB Notification: Performance of matching and sorting (n=15): time 0.001229/1.861, allocations: 271.7 kB / 1.008 GB, free: 9.539 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.573e-05/1.861, allocations: 55.41 kB / 1.009 GB, free: 9.473 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001387/1.862, allocations: 0.5886 MB / 1.009 GB, free: 8.871 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 5.321e-05/1.862, allocations: 29.7 kB / 1.009 GB, free: 8.836 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005865/1.863, allocations: 272.1 kB / 1.009 GB, free: 8.566 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 8.82e-05/1.863, allocations: 47.3 kB / 1.009 GB, free: 8.52 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.658e-05/1.863, allocations: 8 kB / 1.009 GB, free: 8.512 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0002908/1.863, allocations: 358.8 kB / 1.01 GB, free: 8.152 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003405/1.864, allocations: 76.52 kB / 1.01 GB, free: 8.078 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005216/1.864, allocations: 210.7 kB / 1.01 GB, free: 7.824 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004097/1.865, allocations: 104.9 kB / 1.01 GB, free: 7.723 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/1.865, allocations: 0 / 1.01 GB, free: 7.723 MB / 0.7637 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001113/1.866, allocations: 326.5 kB / 1.01 GB, free: 7.398 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007839/1.867, allocations: 0.9522 MB / 1.011 GB, free: 6.371 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-05/1.867, allocations: 4 kB / 1.011 GB, free: 6.367 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.837e-05/1.867, allocations: 7.953 kB / 1.011 GB, free: 6.359 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004652/1.867, allocations: 67.89 kB / 1.011 GB, free: 6.293 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.906e-05/1.867, allocations: 4 kB / 1.011 GB, free: 6.289 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007262/1.868, allocations: 55.66 kB / 1.012 GB, free: 6.234 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.276e-05/1.868, allocations: 12 kB / 1.012 GB, free: 6.223 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/1.868, allocations: 4 kB / 1.012 GB, free: 6.219 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009211/1.869, allocations: 247.6 kB / 1.012 GB, free: 5.977 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/1.869, allocations: 96 / 1.012 GB, free: 5.977 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/1.869, allocations: 7.938 kB / 1.012 GB, free: 5.969 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004022/1.869, allocations: 75.83 kB / 1.012 GB, free: 5.895 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.44e-05/1.869, allocations: 4 kB / 1.012 GB, free: 5.891 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006767/1.87, allocations: 43.98 kB / 1.012 GB, free: 5.848 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.196e-05/1.87, allocations: 15.98 kB / 1.012 GB, free: 5.832 MB / 0.7637 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.0005993/1.871, allocations: 261.7 kB / 1.012 GB, free: 5.566 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00022/1.871, allocations: 47.39 kB / 1.012 GB, free: 5.52 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001127/1.872, allocations: 268.3 kB / 1.012 GB, free: 5.25 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.927e-05/1.872, allocations: 12.12 kB / 1.012 GB, free: 5.238 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.459e-05/1.872, allocations: 0 / 1.012 GB, free: 5.238 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.567e-05/1.872, allocations: 11.94 kB / 1.012 GB, free: 5.227 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002301/1.875, allocations: 0.7319 MB / 1.013 GB, free: 4.426 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.996e-06/1.875, allocations: 4.031 kB / 1.013 GB, free: 4.422 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000244/1.875, allocations: 35.97 kB / 1.013 GB, free: 4.387 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.428e-05/1.875, allocations: 3.953 kB / 1.013 GB, free: 4.383 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.972e-05/1.875, allocations: 8 kB / 1.013 GB, free: 4.375 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.235e-06/1.875, allocations: 0 / 1.013 GB, free: 4.375 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.958e-06/1.875, allocations: 7.938 kB / 1.013 GB, free: 4.367 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000984/1.876, allocations: 405 kB / 1.014 GB, free: 3.918 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003689/1.876, allocations: 156.3 kB / 1.014 GB, free: 3.746 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001337/1.877, allocations: 8 kB / 1.014 GB, free: 3.738 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004372/1.877, allocations: 23.92 kB / 1.014 GB, free: 3.715 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/1.877, allocations: 15.92 kB / 1.014 GB, free: 3.699 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.633e-05/1.877, allocations: 8 kB / 1.014 GB, free: 3.691 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0009842/1.878, allocations: 418.8 kB / 1.014 GB, free: 3.285 MB / 0.7637 GB Notification: Performance of sort global known variables: time 3.41e-07/1.878, allocations: 0 / 1.014 GB, free: 3.285 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001679/1.88, allocations: 231.6 kB / 1.014 GB, free: 3.059 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 (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.003892/1.884, allocations: 1.607 MB / 1.016 GB, free: 1.547 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001377/1.885, allocations: 328 kB / 1.016 GB, free: 1.227 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/1.885, allocations: 7.875 kB / 1.016 GB, free: 1.219 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0003518/1.886, allocations: 84.77 kB / 1.016 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002501/1.888, allocations: 259.6 kB / 1.017 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006072/1.894, allocations: 2.937 MB / 1.02 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007866/1.895, allocations: 0.8584 MB / 1.02 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.000926/1.896, allocations: 108.2 kB / 1.02 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004498/1.896, allocations: 163.4 kB / 1.021 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of SimCode: time 6.222e-06/1.897, allocations: 0 / 1.021 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1124/2.009, allocations: 14.01 MB / 1.034 GB, free: 14.95 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003718/2.009, allocations: 246.2 kB / 1.035 GB, free: 14.71 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.32/6.329, allocations: 1.969 kB / 1.035 GB, free: 14.71 MB / 0.795 GB (rm -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable.fmu > Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable_res.mat does not exist to compare? outputFormat=mat