Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity.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.Sensors.Examples.Velocity,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_Velocity",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.0008245/0.0008248, allocations: 91.77 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.0009112/0.0009114, 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.453/1.453, allocations: 223.3 MB / 240 MB, free: 5.219 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.434/2.434, allocations: 390.4 MB / 0.6655 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003563/0.0003564, allocations: 12 kB / 0.8149 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8626/0.8629, allocations: 142.3 MB / 0.9538 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1919/1.055, allocations: 152.1 MB / 1.102 GB, free: 7.684 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002708/1.058, allocations: 1.477 MB / 1.104 GB, free: 6.203 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000271/1.058, allocations: 11.94 kB / 1.104 GB, free: 6.191 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004718/1.058, allocations: 111.2 kB / 1.104 GB, free: 6.082 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001379/1.06, allocations: 0.5092 MB / 1.104 GB, free: 5.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001345/1.061, allocations: 454.1 kB / 1.105 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000876/1.062, allocations: 0.8424 MB / 1.106 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003149/1.062, allocations: 185.1 kB / 1.106 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007788/1.063, allocations: 314.8 kB / 1.106 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003066/1.063, allocations: 223.1 kB / 1.106 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.712e-05/1.064, allocations: 12 kB / 1.106 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001087/1.065, allocations: 462.8 kB / 1.107 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001284/1.065, allocations: 103.7 kB / 1.107 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.127e-05/1.065, allocations: 85.52 kB / 1.107 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005487/1.065, allocations: 447 kB / 1.107 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/1.065, allocations: 4 kB / 1.107 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.653e-06/1.065, allocations: 0 / 1.107 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.905e-06/1.065, allocations: 0 / 1.107 GB, free: 2.473 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0008812/1.066, allocations: 0.6039 MB / 1.108 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/1.066, allocations: 20.02 kB / 1.108 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.258e-05/1.066, allocations: 58.5 kB / 1.108 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001094/1.068, allocations: 163.3 kB / 1.108 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004075/1.068, allocations: 294.9 kB / 1.109 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.596e-05/1.068, allocations: 16.56 kB / 1.109 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.207e-05/1.068, allocations: 24 kB / 1.109 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000482/1.069, allocations: 289.8 kB / 1.109 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/1.069, allocations: 0 / 1.109 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.238e-05/1.069, allocations: 12 kB / 1.109 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/1.069, allocations: 7.953 kB / 1.109 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004096/1.069, allocations: 224.6 kB / 1.109 GB, free: 0.6641 MB / 0.8575 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.001531/1.071, allocations: 1.238 MB / 1.11 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002765/1.071, allocations: 150.5 kB / 1.11 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001809/1.071, allocations: 96.8 kB / 1.111 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005986/1.072, allocations: 315.2 kB / 1.111 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/1.072, allocations: 38.55 kB / 1.111 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=17): time 1.623e-06/1.072, allocations: 0 / 1.111 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of matching and sorting (n=17): time 0.0008343/1.073, allocations: 314.6 kB / 1.111 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/1.073, allocations: 51.41 kB / 1.111 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003717/1.073, allocations: 320.5 kB / 1.112 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.85e-05/1.073, allocations: 29.7 kB / 1.112 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001754/1.073, allocations: 184.1 kB / 1.112 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.506e-05/1.073, allocations: 55.2 kB / 1.112 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.11e-05/1.073, allocations: 4 kB / 1.112 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001856/1.073, allocations: 346.8 kB / 1.112 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001787/1.074, allocations: 75.95 kB / 1.112 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002226/1.074, allocations: 129 kB / 1.112 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002114/1.074, allocations: 93.02 kB / 1.112 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/1.074, allocations: 0 / 1.112 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004998/1.075, allocations: 267.4 kB / 1.113 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/1.075, allocations: 5.25 kB / 1.113 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/1.075, allocations: 3.938 kB / 1.113 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/1.075, allocations: 4 kB / 1.113 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002143/1.075, allocations: 43.97 kB / 1.113 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.388e-05/1.075, allocations: 7.938 kB / 1.113 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002248/1.075, allocations: 43.77 kB / 1.113 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.508e-05/1.075, allocations: 12 kB / 1.113 GB, free: 12.64 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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.0001914/1.075, allocations: 149.8 kB / 1.113 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.484e-05/1.075, allocations: 31.62 kB / 1.113 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005249/1.076, allocations: 244.6 kB / 1.113 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.952e-06/1.076, allocations: 4 kB / 1.113 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/1.076, allocations: 0 / 1.113 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/1.076, allocations: 0 / 1.113 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001152/1.077, allocations: 0.7186 MB / 1.114 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/1.077, allocations: 0 / 1.114 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001734/1.077, allocations: 40.06 kB / 1.114 GB, free: 11.37 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/1.077, allocations: 3.938 kB / 1.114 GB, free: 11.37 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.104e-05/1.077, allocations: 11.95 kB / 1.114 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.343e-06/1.077, allocations: 7.938 kB / 1.114 GB, free: 11.35 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/1.077, allocations: 4 kB / 1.114 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007003/1.078, allocations: 468.1 kB / 1.114 GB, free: 10.85 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00014/1.078, allocations: 128.7 kB / 1.115 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.44e-05/1.078, allocations: 4 kB / 1.115 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001842/1.079, allocations: 28 kB / 1.115 GB, free: 10.68 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.044e-05/1.079, allocations: 11.98 kB / 1.115 GB, free: 10.66 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/1.079, allocations: 4 kB / 1.115 GB, free: 10.66 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002487/1.079, allocations: 231 kB / 1.115 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.21e-07/1.079, allocations: 0 / 1.115 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004078/1.079, allocations: 79.94 kB / 1.115 GB, free: 10.36 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senDyn.d) * 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): 17 * 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 Backend phase and start with SimCode phase: time 0.001281/1.081, allocations: 1.062 MB / 1.116 GB, free: 9.25 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004426/1.081, allocations: 198 kB / 1.116 GB, free: 9.059 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.081, allocations: 192 / 1.116 GB, free: 9.059 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000187/1.081, allocations: 103.8 kB / 1.116 GB, free: 8.957 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008711/1.082, allocations: 156 kB / 1.116 GB, free: 8.805 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002828/1.085, allocations: 1.847 MB / 1.118 GB, free: 6.879 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003969/1.085, allocations: 0.7797 MB / 1.119 GB, free: 6.074 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002495/1.086, allocations: 66.91 kB / 1.119 GB, free: 6.008 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001403/1.086, allocations: 95.41 kB / 1.119 GB, free: 5.914 MB / 0.8731 GB Notification: Performance of SimCode: time 7.41e-07/1.086, allocations: 0 / 1.119 GB, free: 5.914 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0218/1.108, allocations: 8.399 MB / 1.127 GB, free: 13.72 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001894/1.108, allocations: 219.2 kB / 1.127 GB, free: 13.48 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.991/3.098, allocations: 0 / 1.127 GB, free: 13.48 MB / 0.8887 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_Velocity.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity_res.mat does not exist to compare? outputFormat=mat