Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_8_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.001442/0.001442, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001682/0.001682, allocations: 189.5 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.347/1.347, allocations: 205.1 MB / 222.1 MB, free: 4.715 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.736/1.736, allocations: 292.3 MB / 0.5486 GB, free: 13.59 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 64.5 kB / 0.6711 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1979/0.1993, allocations: 114.6 MB / 0.783 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.5972/0.7966, allocations: 165.2 MB / 0.9443 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002434/0.799, allocations: 1.545 MB / 0.9458 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002258/0.7993, allocations: 16.02 kB / 0.9458 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004227/0.7997, allocations: 121.2 kB / 0.9459 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001452/0.8012, allocations: 0.6684 MB / 0.9465 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001225/0.8025, allocations: 0.5564 MB / 0.9471 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0007177/0.8032, allocations: 0.7177 MB / 0.9478 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003215/0.8035, allocations: 232.5 kB / 0.948 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005186/0.8041, allocations: 353.3 kB / 0.9483 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002718/0.8043, allocations: 239.7 kB / 0.9486 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.792e-05/0.8044, allocations: 23.91 kB / 0.9486 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001237/0.8056, allocations: 0.8952 MB / 0.9495 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001385/0.8058, allocations: 110.7 kB / 0.9496 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001863/0.806, allocations: 172.3 kB / 0.9497 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001043/0.807, allocations: 0.7895 MB / 0.9505 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.807, allocations: 4 kB / 0.9505 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.262e-06/0.807, allocations: 0 / 0.9505 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.8071, allocations: 0 / 0.9505 GB, free: 5.754 MB / 0.7325 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.001154/0.8082, allocations: 0.661 MB / 0.9512 GB, free: 21.27 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.8083, allocations: 10.14 kB / 0.9512 GB, free: 21.27 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.946e-05/0.8083, allocations: 56.81 kB / 0.9512 GB, free: 21.23 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001196/0.8095, allocations: 163.6 kB / 0.9514 GB, free: 21.2 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000447/0.81, allocations: 309.2 kB / 0.9517 GB, free: 20.97 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.365e-05/0.81, allocations: 18.95 kB / 0.9517 GB, free: 20.97 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.542e-05/0.8101, allocations: 29.16 kB / 0.9517 GB, free: 20.97 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005424/0.8106, allocations: 280.3 kB / 0.952 GB, free: 20.89 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.8107, allocations: 4 kB / 0.952 GB, free: 20.89 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.8107, allocations: 9.375 kB / 0.952 GB, free: 20.89 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.8107, allocations: 6.156 kB / 0.952 GB, free: 20.89 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004636/0.8112, allocations: 203.6 kB / 0.9522 GB, free: 20.88 MB / 0.7481 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.001428/0.8126, allocations: 1.225 MB / 0.9534 GB, free: 20.05 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000308/0.8129, allocations: 149.9 kB / 0.9535 GB, free: 20.02 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001951/0.8131, allocations: 94.38 kB / 0.9536 GB, free: 20.01 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006469/0.8138, allocations: 305.2 kB / 0.9539 GB, free: 19.73 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.8138, allocations: 36.36 kB / 0.954 GB, free: 19.69 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=17): time 1.683e-06/0.8138, allocations: 0 / 0.954 GB, free: 19.69 MB / 0.7481 GB Notification: Performance of matching and sorting (n=17): time 0.0008099/0.8147, allocations: 301.1 kB / 0.9542 GB, free: 19.63 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/0.8147, allocations: 53.09 kB / 0.9543 GB, free: 19.57 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003283/0.815, allocations: 324.3 kB / 0.9546 GB, free: 19.45 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.872e-05/0.8151, allocations: 30.08 kB / 0.9546 GB, free: 19.42 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.8152, allocations: 183.8 kB / 0.9548 GB, free: 19.32 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.216e-05/0.8152, allocations: 58.27 kB / 0.9549 GB, free: 19.28 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.62e-05/0.8153, allocations: 46.72 kB / 0.9549 GB, free: 19.26 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.8154, allocations: 341.6 kB / 0.9552 GB, free: 18.95 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001664/0.8156, allocations: 73.81 kB / 0.9553 GB, free: 18.94 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002032/0.8158, allocations: 126.3 kB / 0.9554 GB, free: 18.89 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003531/0.8162, allocations: 204 kB / 0.9556 GB, free: 18.84 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.217e-06/0.8162, allocations: 4.812 kB / 0.9556 GB, free: 18.83 MB / 0.7481 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.00048/0.8167, allocations: 251 kB / 0.9559 GB, free: 18.78 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.8167, allocations: 4.812 kB / 0.9559 GB, free: 18.78 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.8167, allocations: 2.594 kB / 0.9559 GB, free: 18.78 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.8168, allocations: 5.625 kB / 0.9559 GB, free: 18.78 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002272/0.817, allocations: 47.73 kB / 0.9559 GB, free: 18.78 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.817, allocations: 2.281 kB / 0.9559 GB, free: 18.78 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002174/0.8172, allocations: 41.92 kB / 0.956 GB, free: 18.76 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.014e-05/0.8173, allocations: 7.469 kB / 0.956 GB, free: 18.76 MB / 0.7481 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001443/0.8174, allocations: 159.3 kB / 0.9561 GB, free: 18.64 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.188e-05/0.8175, allocations: 29.81 kB / 0.9562 GB, free: 18.62 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005387/0.818, allocations: 226.1 kB / 0.9564 GB, free: 18.59 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.818, allocations: 2.031 kB / 0.9564 GB, free: 18.59 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.8181, allocations: 0.5 kB / 0.9564 GB, free: 18.59 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.8181, allocations: 3.203 kB / 0.9564 GB, free: 18.59 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001245/0.8193, allocations: 0.7099 MB / 0.9571 GB, free: 18.22 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.8193, allocations: 3.219 kB / 0.9571 GB, free: 18.22 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002056/0.8195, allocations: 38.66 kB / 0.9571 GB, free: 18.22 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.486e-06/0.8196, allocations: 4.359 kB / 0.9571 GB, free: 18.22 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.168e-05/0.8196, allocations: 3.281 kB / 0.9571 GB, free: 18.22 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.686e-06/0.8196, allocations: 6.562 kB / 0.9571 GB, free: 18.21 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/0.8196, allocations: 5.438 kB / 0.9571 GB, free: 18.21 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008258/0.8204, allocations: 453.6 kB / 0.9576 GB, free: 18.01 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001445/0.8206, allocations: 120.1 kB / 0.9577 GB, free: 17.9 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.429e-05/0.8207, allocations: 8.062 kB / 0.9577 GB, free: 17.9 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002105/0.8209, allocations: 28.72 kB / 0.9577 GB, free: 17.89 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.166e-05/0.821, allocations: 13.17 kB / 0.9577 GB, free: 17.89 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.26e-05/0.821, allocations: 11.97 kB / 0.9577 GB, free: 17.89 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003413/0.8213, allocations: 230.1 kB / 0.958 GB, free: 17.81 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8213, allocations: 0.5625 kB / 0.958 GB, free: 17.81 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005074/0.8219, allocations: 83.28 kB / 0.958 GB, free: 17.8 MB / 0.7481 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001414/0.8233, allocations: 1.058 MB / 0.9591 GB, free: 17.04 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005025/0.8238, allocations: 190.6 kB / 0.9592 GB, free: 17.03 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.8238, allocations: 0 / 0.9592 GB, free: 17.03 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002025/0.824, allocations: 93.16 kB / 0.9593 GB, free: 17.03 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008587/0.8249, allocations: 169.6 kB / 0.9595 GB, free: 17 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003818/0.8287, allocations: 3.092 MB / 0.9625 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000344/0.8291, allocations: 0.7848 MB / 0.9633 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002291/0.8293, allocations: 66.91 kB / 0.9633 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/0.8294, allocations: 93.12 kB / 0.9634 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of SimCode: time 2.51e-07/0.8294, allocations: 1.094 kB / 0.9634 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02236/0.8518, allocations: 8.762 MB / 0.972 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001771/0.852, allocations: 233.5 kB / 0.9722 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.918/2.77, allocations: 0 / 0.9722 GB, free: 13.57 MB / 0.7481 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_Velocity.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1)