Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sensors.Examples.Velocity,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.Velocity,fileNamePrefix="BuildingSystems_BuildingSystems_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.001243/0.001243, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 196.2 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002379/0.002379, allocations: 286.8 kB / 290.7 MB, free: 1.977 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.024/1.024, allocations: 178.5 MB / 0.5073 GB, free: 4.605 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002613/0.002613, allocations: 100.9 kB / 0.6065 GB, free: 24.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1519, allocations: 89.14 MB / 0.6936 GB, free: 4.238 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Velocity): time 0.4478/0.5997, allocations: 167.4 MB / 0.8571 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.002544/0.6023, allocations: 1.549 MB / 0.8586 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002093/0.6025, allocations: 13.41 kB / 0.8586 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004124/0.6029, allocations: 161.3 kB / 0.8587 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001472/0.6044, allocations: 0.7028 MB / 0.8594 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00127/0.6057, allocations: 0.5995 MB / 0.86 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0006552/0.6064, allocations: 0.7169 MB / 0.8607 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000337/0.6067, allocations: 239.7 kB / 0.8609 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005115/0.6072, allocations: 337.2 kB / 0.8613 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002867/0.6075, allocations: 233.2 kB / 0.8615 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.847e-05/0.6076, allocations: 25.72 kB / 0.8615 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001288/0.6089, allocations: 0.8652 MB / 0.8624 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.609, allocations: 110.9 kB / 0.8625 GB, free: 9.977 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001626/0.6092, allocations: 168.6 kB / 0.8626 GB, free: 9.875 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0008847/0.6101, allocations: 0.7203 MB / 0.8633 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.6101, allocations: 0 / 0.8633 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of FrontEnd: time 4.568e-06/0.6101, allocations: 0 / 0.8633 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.221e-06/0.6101, allocations: 3.938 kB / 0.8633 GB, free: 9.441 MB / 0.5919 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.0009488/0.6111, allocations: 0.6708 MB / 0.864 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.062e-05/0.6111, allocations: 7.312 kB / 0.864 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.52e-05/0.6112, allocations: 58.36 kB / 0.8641 GB, free: 8.785 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/0.6122, allocations: 160.3 kB / 0.8642 GB, free: 8.707 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003957/0.6126, allocations: 301.1 kB / 0.8645 GB, free: 8.426 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.6127, allocations: 18.62 kB / 0.8645 GB, free: 8.418 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.926e-05/0.6127, allocations: 30.91 kB / 0.8645 GB, free: 8.402 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004686/0.6132, allocations: 286.1 kB / 0.8648 GB, free: 8.211 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.6132, allocations: 3.938 kB / 0.8648 GB, free: 8.207 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.278e-05/0.6132, allocations: 10.19 kB / 0.8648 GB, free: 8.199 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.6132, allocations: 5.812 kB / 0.8648 GB, free: 8.199 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003934/0.6136, allocations: 211.1 kB / 0.865 GB, free: 8.102 MB / 0.5919 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.001415/0.6151, allocations: 1.224 MB / 0.8662 GB, free: 6.973 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000269/0.6153, allocations: 152.8 kB / 0.8664 GB, free: 6.887 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001707/0.6155, allocations: 93.02 kB / 0.8665 GB, free: 6.84 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006359/0.6162, allocations: 312.6 kB / 0.8668 GB, free: 6.523 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/0.6162, allocations: 42.41 kB / 0.8668 GB, free: 6.473 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=17): time 1.663e-06/0.6162, allocations: 0 / 0.8668 GB, free: 6.473 MB / 0.5919 GB Notification: Performance of matching and sorting (n=17): time 0.0007211/0.6169, allocations: 286.6 kB / 0.8671 GB, free: 6.332 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.617, allocations: 54.12 kB / 0.8671 GB, free: 6.27 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002985/0.6173, allocations: 326.3 kB / 0.8674 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.6173, allocations: 32.52 kB / 0.8675 GB, free: 6.023 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/0.6175, allocations: 183.2 kB / 0.8676 GB, free: 5.855 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.948e-05/0.6176, allocations: 59.08 kB / 0.8677 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.396e-05/0.6176, allocations: 45.27 kB / 0.8677 GB, free: 5.773 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.6178, allocations: 344.1 kB / 0.8681 GB, free: 5.434 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001659/0.618, allocations: 73.56 kB / 0.8681 GB, free: 5.398 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002091/0.6182, allocations: 135.3 kB / 0.8683 GB, free: 5.301 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003462/0.6185, allocations: 195.1 kB / 0.8685 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.6185, allocations: 3.938 kB / 0.8685 GB, free: 5.172 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004364/0.619, allocations: 247.7 kB / 0.8687 GB, free: 5.039 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.619, allocations: 7.344 kB / 0.8687 GB, free: 5.039 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.619, allocations: 0 / 0.8687 GB, free: 5.039 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.619, allocations: 2.719 kB / 0.8687 GB, free: 5.039 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001954/0.6192, allocations: 51.42 kB / 0.8688 GB, free: 5.023 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.6193, allocations: 6.094 kB / 0.8688 GB, free: 5.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001901/0.6194, allocations: 34.02 kB / 0.8688 GB, free: 4.996 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.458e-05/0.6195, allocations: 7.344 kB / 0.8688 GB, free: 4.996 MB / 0.5919 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.0001561/0.6196, allocations: 152.2 kB / 0.8689 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.305e-05/0.6197, allocations: 38.45 kB / 0.869 GB, free: 4.832 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004964/0.6202, allocations: 235.4 kB / 0.8692 GB, free: 4.691 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.6202, allocations: 2.906 kB / 0.8692 GB, free: 4.691 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.6202, allocations: 0 / 0.8692 GB, free: 4.691 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.6202, allocations: 3.938 kB / 0.8692 GB, free: 4.688 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/0.6213, allocations: 0.7065 MB / 0.8699 GB, free: 4.094 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.6213, allocations: 2.906 kB / 0.8699 GB, free: 4.094 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001675/0.6215, allocations: 41.31 kB / 0.8699 GB, free: 4.078 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.6215, allocations: 2.281 kB / 0.8699 GB, free: 4.078 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.6215, allocations: 4.688 kB / 0.87 GB, free: 4.078 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.523e-06/0.6215, allocations: 8.25 kB / 0.87 GB, free: 4.074 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.6215, allocations: 2.969 kB / 0.87 GB, free: 4.074 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006465/0.6222, allocations: 452.9 kB / 0.8704 GB, free: 3.738 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/0.6223, allocations: 123.6 kB / 0.8705 GB, free: 3.613 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.22e-05/0.6224, allocations: 4.219 kB / 0.8705 GB, free: 3.613 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/0.6225, allocations: 13.19 kB / 0.8705 GB, free: 3.605 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.049e-05/0.6226, allocations: 23.78 kB / 0.8706 GB, free: 3.59 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.6226, allocations: 12.66 kB / 0.8706 GB, free: 3.582 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002475/0.6229, allocations: 231.4 kB / 0.8708 GB, free: 3.434 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2e-07/0.6229, allocations: 0 / 0.8708 GB, free: 3.434 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003781/0.6233, allocations: 83.75 kB / 0.8709 GB, free: 3.418 MB / 0.5919 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.001225/0.6245, allocations: 1.038 MB / 0.8719 GB, free: 2.527 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004258/0.6249, allocations: 188.1 kB / 0.8721 GB, free: 2.445 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.6249, allocations: 3 kB / 0.8721 GB, free: 2.445 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001846/0.6251, allocations: 98.28 kB / 0.8722 GB, free: 2.398 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009261/0.6261, allocations: 172.6 kB / 0.8723 GB, free: 2.312 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00391/0.63, allocations: 3.031 MB / 0.8753 GB, free: 40 kB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004227/0.6304, allocations: 0.7834 MB / 0.876 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002231/0.6306, allocations: 58.19 kB / 0.8761 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/0.6308, allocations: 88.75 kB / 0.8762 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of SimCode: time 3.6e-07/0.6308, allocations: 4 kB / 0.8762 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03289/0.6637, allocations: 8.962 MB / 0.8849 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.641/8.305, allocations: 9.188 kB / 0.8849 GB, free: 7.129 MB / 0.6075 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_Velocity.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe 2>&1)