Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Sensors.Examples.Velocity,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.Velocity,fileNamePrefix="IBPSA_latest_IBPSA_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.001557/0.001557, allocations: 101.4 kB / 16.4 MB, free: 6.484 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.001664/0.001664, allocations: 195.8 kB / 17.34 MB, free: 5.762 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7067/0.7067, allocations: 115.3 MB / 406.5 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 65.55 kB / 0.5572 GB, free: 32.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1586, allocations: 76.19 MB / 0.6316 GB, free: 5.004 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Velocity): time 0.5593/0.718, allocations: 167.4 MB / 0.7951 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.002588/0.7206, allocations: 1.551 MB / 0.7966 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002663/0.7209, allocations: 11.41 kB / 0.7966 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004868/0.7214, allocations: 155.1 kB / 0.7967 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001629/0.7231, allocations: 0.7036 MB / 0.7974 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00143/0.7245, allocations: 0.6013 MB / 0.798 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0007926/0.7254, allocations: 0.7157 MB / 0.7987 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004028/0.7258, allocations: 245.4 kB / 0.7989 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006246/0.7264, allocations: 351.1 kB / 0.7993 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003001/0.7267, allocations: 233 kB / 0.7995 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.058e-05/0.7268, allocations: 23.25 kB / 0.7995 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001394/0.7282, allocations: 0.8681 MB / 0.8004 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000147/0.7283, allocations: 112.8 kB / 0.8005 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002039/0.7285, allocations: 169 kB / 0.8006 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001002/0.7295, allocations: 0.7306 MB / 0.8014 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.7296, allocations: 0 / 0.8014 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.114e-06/0.7296, allocations: 0 / 0.8014 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.243e-05/0.7296, allocations: 0 / 0.8014 GB, free: 11.92 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.0009565/0.7305, allocations: 0.6674 MB / 0.802 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.7306, allocations: 10 kB / 0.802 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.449e-05/0.7307, allocations: 58.95 kB / 0.8021 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/0.7317, allocations: 153.8 kB / 0.8022 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005214/0.7323, allocations: 328.9 kB / 0.8025 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.7323, allocations: 17.53 kB / 0.8026 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.602e-05/0.7324, allocations: 29.38 kB / 0.8026 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004547/0.7328, allocations: 284.8 kB / 0.8029 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.7328, allocations: 2.406 kB / 0.8029 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.23e-05/0.7329, allocations: 9.062 kB / 0.8029 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.7329, allocations: 9.594 kB / 0.8029 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003884/0.7333, allocations: 198.1 kB / 0.8031 GB, free: 11.02 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.001436/0.7347, allocations: 1.223 MB / 0.8043 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002826/0.735, allocations: 162.4 kB / 0.8044 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001637/0.7352, allocations: 94.28 kB / 0.8045 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005421/0.7357, allocations: 297.7 kB / 0.8048 GB, free: 9.844 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.7358, allocations: 40.91 kB / 0.8048 GB, free: 9.801 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=17): time 1.583e-06/0.7358, allocations: 0 / 0.8048 GB, free: 9.801 MB / 0.5919 GB Notification: Performance of matching and sorting (n=17): time 0.0007173/0.7365, allocations: 289.1 kB / 0.8051 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.7366, allocations: 61.88 kB / 0.8052 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002771/0.7368, allocations: 320.8 kB / 0.8055 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.7369, allocations: 35.52 kB / 0.8055 GB, free: 9.477 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/0.737, allocations: 178.8 kB / 0.8057 GB, free: 9.359 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.032e-05/0.737, allocations: 61.17 kB / 0.8057 GB, free: 9.316 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.074e-05/0.7371, allocations: 46.92 kB / 0.8058 GB, free: 9.297 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.7372, allocations: 338.1 kB / 0.8061 GB, free: 8.977 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001681/0.7374, allocations: 74.61 kB / 0.8062 GB, free: 8.957 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002023/0.7376, allocations: 130.3 kB / 0.8063 GB, free: 8.891 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003388/0.738, allocations: 201.3 kB / 0.8065 GB, free: 8.809 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.738, allocations: 3.938 kB / 0.8065 GB, free: 8.805 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004428/0.7384, allocations: 247.7 kB / 0.8067 GB, free: 8.719 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.7385, allocations: 15.25 kB / 0.8067 GB, free: 8.711 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.7385, allocations: 0 / 0.8067 GB, free: 8.711 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.7385, allocations: 2.719 kB / 0.8067 GB, free: 8.711 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001927/0.7387, allocations: 46.41 kB / 0.8068 GB, free: 8.703 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.116e-06/0.7387, allocations: 2.562 kB / 0.8068 GB, free: 8.703 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001843/0.7389, allocations: 39.86 kB / 0.8068 GB, free: 8.68 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.497e-05/0.7389, allocations: 10.78 kB / 0.8068 GB, free: 8.676 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.0001288/0.7391, allocations: 151.4 kB / 0.807 GB, free: 8.555 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.058e-05/0.7391, allocations: 27.97 kB / 0.807 GB, free: 8.539 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004659/0.7396, allocations: 231.8 kB / 0.8072 GB, free: 8.453 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.7396, allocations: 7.219 kB / 0.8072 GB, free: 8.449 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.7396, allocations: 0 / 0.8072 GB, free: 8.449 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.7396, allocations: 3.984 kB / 0.8072 GB, free: 8.445 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009767/0.7406, allocations: 0.7039 MB / 0.8079 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.7406, allocations: 6.031 kB / 0.8079 GB, free: 7.965 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001614/0.7408, allocations: 34.33 kB / 0.808 GB, free: 7.961 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.7408, allocations: 3.219 kB / 0.808 GB, free: 7.961 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.7408, allocations: 7.281 kB / 0.808 GB, free: 7.961 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.803e-06/0.7408, allocations: 6.031 kB / 0.808 GB, free: 7.957 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.7408, allocations: 10.55 kB / 0.808 GB, free: 7.949 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006064/0.7415, allocations: 444.4 kB / 0.8084 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.7416, allocations: 125.8 kB / 0.8085 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.851e-05/0.7416, allocations: 5.906 kB / 0.8085 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001664/0.7418, allocations: 16.39 kB / 0.8086 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.971e-05/0.7419, allocations: 15.58 kB / 0.8086 GB, free: 7.566 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.7419, allocations: 4.75 kB / 0.8086 GB, free: 7.566 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002003/0.7421, allocations: 234.4 kB / 0.8088 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7421, allocations: 0 / 0.8088 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003704/0.7425, allocations: 89.09 kB / 0.8089 GB, free: 7.441 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.001203/0.7437, allocations: 1.048 MB / 0.8099 GB, free: 6.625 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000413/0.7441, allocations: 181.2 kB / 0.8101 GB, free: 6.586 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.7441, allocations: 0 / 0.8101 GB, free: 6.586 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001769/0.7443, allocations: 93.48 kB / 0.8102 GB, free: 6.566 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008588/0.7452, allocations: 167.8 kB / 0.8103 GB, free: 6.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003325/0.7485, allocations: 3.001 MB / 0.8133 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/0.7488, allocations: 0.7801 MB / 0.814 GB, free: 3.891 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001989/0.749, allocations: 65.98 kB / 0.8141 GB, free: 3.863 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001227/0.7492, allocations: 104.6 kB / 0.8142 GB, free: 3.84 MB / 0.5919 GB Notification: Performance of SimCode: time 2.5e-07/0.7492, allocations: 0 / 0.8142 GB, free: 3.84 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03026/0.7794, allocations: 9.14 MB / 0.8231 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.883/8.662, allocations: 17.47 kB / 0.8231 GB, free: 15.3 MB / 0.6075 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Velocity.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe 2>&1)