Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.Sensors.Examples.Velocity,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_latest_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.001029/0.00103, allocations: 86.41 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.001252/0.001252, 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.42/1.42, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.487/2.487, allocations: 409.4 MB / 0.684 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004063/0.0004063, allocations: 12 kB / 0.8378 GB, free: 6.488 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7925/0.7929, allocations: 146.8 MB / 0.9811 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1613/0.9543, allocations: 152.1 MB / 1.13 GB, free: 13.72 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002708/0.9571, allocations: 1.484 MB / 1.131 GB, free: 12.23 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005271/0.9576, allocations: 11.88 kB / 1.131 GB, free: 12.22 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0006235/0.9583, allocations: 103.3 kB / 1.131 GB, free: 12.12 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001782/0.9601, allocations: 0.5092 MB / 1.132 GB, free: 11.61 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001711/0.9618, allocations: 461.3 kB / 1.132 GB, free: 11.16 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001182/0.963, allocations: 0.8423 MB / 1.133 GB, free: 10.32 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004296/0.9635, allocations: 177.2 kB / 1.133 GB, free: 10.15 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008691/0.9643, allocations: 310.7 kB / 1.133 GB, free: 9.844 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004593/0.9648, allocations: 235.1 kB / 1.134 GB, free: 9.613 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 6.183e-05/0.9649, allocations: 16 kB / 1.134 GB, free: 9.598 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001347/0.9662, allocations: 466.8 kB / 1.134 GB, free: 9.141 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001622/0.9664, allocations: 95.7 kB / 1.134 GB, free: 9.047 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001439/0.9666, allocations: 81.58 kB / 1.134 GB, free: 8.961 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0007088/0.9673, allocations: 447 kB / 1.135 GB, free: 8.523 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.9673, allocations: 0 / 1.135 GB, free: 8.523 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.003e-06/0.9673, allocations: 0 / 1.135 GB, free: 8.523 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.066e-05/0.9673, allocations: 0 / 1.135 GB, free: 8.523 MB / 0.8887 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.0009614/0.9683, allocations: 0.6194 MB / 1.135 GB, free: 7.855 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.9683, allocations: 8.031 kB / 1.135 GB, free: 7.848 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.224e-05/0.9684, allocations: 62.55 kB / 1.135 GB, free: 7.777 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001143/0.9696, allocations: 155.4 kB / 1.136 GB, free: 7.625 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004983/0.9701, allocations: 302.9 kB / 1.136 GB, free: 7.289 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.696e-05/0.9701, allocations: 24.55 kB / 1.136 GB, free: 7.266 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.154e-05/0.9702, allocations: 23.94 kB / 1.136 GB, free: 7.242 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005532/0.9708, allocations: 285.8 kB / 1.136 GB, free: 6.941 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.9708, allocations: 4 kB / 1.136 GB, free: 6.938 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.579e-05/0.9708, allocations: 8 kB / 1.136 GB, free: 6.93 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.9708, allocations: 4 kB / 1.136 GB, free: 6.926 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004523/0.9713, allocations: 212.9 kB / 1.136 GB, free: 6.719 MB / 0.8887 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.001754/0.9731, allocations: 1.234 MB / 1.138 GB, free: 5.379 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002922/0.9734, allocations: 150.5 kB / 1.138 GB, free: 5.223 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001801/0.9735, allocations: 100.7 kB / 1.138 GB, free: 5.121 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006111/0.9742, allocations: 319.5 kB / 1.138 GB, free: 4.754 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.9742, allocations: 30.56 kB / 1.138 GB, free: 4.715 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=17): time 1.573e-06/0.9742, allocations: 0 / 1.138 GB, free: 4.715 MB / 0.8887 GB Notification: Performance of matching and sorting (n=17): time 0.0007604/0.975, allocations: 315.8 kB / 1.138 GB, free: 4.402 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/0.975, allocations: 59.34 kB / 1.139 GB, free: 4.332 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003162/0.9754, allocations: 320.5 kB / 1.139 GB, free: 4.012 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.9754, allocations: 33.7 kB / 1.139 GB, free: 3.973 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001457/0.9755, allocations: 184.1 kB / 1.139 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 5.951e-05/0.9756, allocations: 59.11 kB / 1.139 GB, free: 3.73 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.27e-05/0.9756, allocations: 4 kB / 1.139 GB, free: 3.727 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001864/0.9758, allocations: 342.8 kB / 1.139 GB, free: 3.383 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001823/0.976, allocations: 75.89 kB / 1.139 GB, free: 3.309 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000221/0.9762, allocations: 129.7 kB / 1.14 GB, free: 3.164 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001887/0.9764, allocations: 89.5 kB / 1.14 GB, free: 3.078 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.9764, allocations: 4 kB / 1.14 GB, free: 3.074 MB / 0.8887 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005078/0.977, allocations: 249.1 kB / 1.14 GB, free: 2.824 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.977, allocations: 8.094 kB / 1.14 GB, free: 2.816 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.977, allocations: 4 kB / 1.14 GB, free: 2.812 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.977, allocations: 4 kB / 1.14 GB, free: 2.809 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002188/0.9773, allocations: 55.86 kB / 1.14 GB, free: 2.754 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.9773, allocations: 4 kB / 1.14 GB, free: 2.75 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000232/0.9775, allocations: 39.67 kB / 1.14 GB, free: 2.711 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.175e-05/0.9776, allocations: 8 kB / 1.14 GB, free: 2.703 MB / 0.8887 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.0001496/0.9777, allocations: 153.8 kB / 1.14 GB, free: 2.543 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.596e-05/0.9778, allocations: 35.62 kB / 1.14 GB, free: 2.508 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004778/0.9783, allocations: 236.7 kB / 1.14 GB, free: 2.27 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.676e-06/0.9783, allocations: 4 kB / 1.14 GB, free: 2.266 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.9783, allocations: 3.953 kB / 1.14 GB, free: 2.262 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.9783, allocations: 0 / 1.14 GB, free: 2.262 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/0.9793, allocations: 0.7223 MB / 1.141 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.9793, allocations: 4 kB / 1.141 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001736/0.9795, allocations: 39.92 kB / 1.141 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.9795, allocations: 8.219 kB / 1.141 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.9796, allocations: 4 kB / 1.141 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.9796, allocations: 0 / 1.141 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.9796, allocations: 4 kB / 1.141 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006562/0.9802, allocations: 466.6 kB / 1.142 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001274/0.9804, allocations: 128.7 kB / 1.142 GB, free: 0.7656 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.641e-05/0.9804, allocations: 7.938 kB / 1.142 GB, free: 0.7578 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001865/0.9806, allocations: 19.98 kB / 1.142 GB, free: 0.7383 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.59e-05/0.9807, allocations: 19.92 kB / 1.142 GB, free: 0.7188 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.9807, allocations: 8.062 kB / 1.142 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002157/0.9809, allocations: 227 kB / 1.142 GB, free: 500 kB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9809, allocations: 0 / 1.142 GB, free: 500 kB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0004037/0.9813, allocations: 83.92 kB / 1.142 GB, free: 416 kB / 0.8887 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.001203/0.9826, allocations: 1.062 MB / 1.143 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004258/0.983, allocations: 198 kB / 1.143 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.983, allocations: 0 / 1.143 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001869/0.9832, allocations: 100.5 kB / 1.143 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008795/0.9841, allocations: 152.2 kB / 1.144 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00263/0.9867, allocations: 1.859 MB / 1.145 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/0.9871, allocations: 0.7876 MB / 1.146 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0002296/0.9873, allocations: 62.94 kB / 1.146 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001328/0.9875, allocations: 87.41 kB / 1.146 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of SimCode: time 4.3e-07/0.9875, allocations: 3.938 kB / 1.146 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02119/1.009, allocations: 8.407 MB / 1.155 GB, free: 3.766 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001658/1.009, allocations: 221.3 kB / 1.155 GB, free: 3.523 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.99/2.999, allocations: 0 / 1.155 GB, free: 3.523 MB / 0.9044 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_Velocity.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity_res.mat does not exist to compare? outputFormat=mat