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.001113/0.001113, allocations: 106.3 kB / 16.4 MB, free: 6.449 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.001152/0.001152, allocations: 193.2 kB / 17.34 MB, free: 5.719 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.253/1.253, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7242/0.7242, allocations: 115.3 MB / 406.5 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 67.25 kB / 0.5572 GB, free: 32.33 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1385, allocations: 76.19 MB / 0.6316 GB, free: 4.91 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Velocity): time 0.5245/0.6631, allocations: 167.4 MB / 0.7951 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.002981/0.6661, allocations: 1.563 MB / 0.7966 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004653/0.6666, allocations: 11.25 kB / 0.7966 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005165/0.6672, allocations: 151.8 kB / 0.7967 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001908/0.6692, allocations: 0.7022 MB / 0.7974 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001537/0.6707, allocations: 0.6067 MB / 0.798 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008135/0.6715, allocations: 0.7145 MB / 0.7987 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003685/0.6719, allocations: 243.4 kB / 0.7989 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006246/0.6726, allocations: 349.9 kB / 0.7993 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002692/0.6728, allocations: 227.9 kB / 0.7995 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.708e-05/0.6729, allocations: 27.34 kB / 0.7995 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001366/0.6743, allocations: 0.872 MB / 0.8004 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001361/0.6744, allocations: 111.5 kB / 0.8005 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001828/0.6746, allocations: 176.5 kB / 0.8007 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001094/0.6757, allocations: 0.726 MB / 0.8014 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.6757, allocations: 0 / 0.8014 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.032e-06/0.6757, allocations: 0 / 0.8014 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.742e-06/0.6757, allocations: 0 / 0.8014 GB, free: 11.95 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.0008952/0.6766, allocations: 0.6683 MB / 0.802 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.6767, allocations: 10.12 kB / 0.802 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.751e-05/0.6767, allocations: 56.27 kB / 0.8021 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00108/0.6778, allocations: 155.9 kB / 0.8022 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004697/0.6783, allocations: 323.8 kB / 0.8025 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.6783, allocations: 15.06 kB / 0.8025 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.636e-05/0.6784, allocations: 28.38 kB / 0.8026 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004588/0.6789, allocations: 281.7 kB / 0.8028 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.6789, allocations: 4 kB / 0.8028 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.247e-05/0.6789, allocations: 8.969 kB / 0.8029 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.6789, allocations: 7.25 kB / 0.8029 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003914/0.6793, allocations: 204.7 kB / 0.8031 GB, free: 11.06 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.001584/0.6809, allocations: 1.222 MB / 0.8043 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002758/0.6812, allocations: 153 kB / 0.8044 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001624/0.6814, allocations: 98.92 kB / 0.8045 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005691/0.682, allocations: 298.6 kB / 0.8048 GB, free: 9.883 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.486e-05/0.682, allocations: 42.98 kB / 0.8048 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=17): time 3.286e-06/0.682, allocations: 4 kB / 0.8048 GB, free: 9.836 MB / 0.5919 GB Notification: Performance of matching and sorting (n=17): time 0.0007753/0.6828, allocations: 296.6 kB / 0.8051 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/0.6829, allocations: 51.41 kB / 0.8052 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003029/0.6832, allocations: 326.1 kB / 0.8055 GB, free: 9.543 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.6832, allocations: 28.73 kB / 0.8055 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001227/0.6834, allocations: 189.7 kB / 0.8057 GB, free: 9.391 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.874e-05/0.6834, allocations: 57.17 kB / 0.8057 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.422e-05/0.6835, allocations: 45.3 kB / 0.8058 GB, free: 9.328 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001703/0.6837, allocations: 339.8 kB / 0.8061 GB, free: 9.008 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001577/0.6838, allocations: 75.2 kB / 0.8062 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001936/0.684, allocations: 128.1 kB / 0.8063 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003232/0.6844, allocations: 194.8 kB / 0.8065 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.6844, allocations: 6.156 kB / 0.8065 GB, free: 8.84 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004511/0.6848, allocations: 255 kB / 0.8067 GB, free: 8.75 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.6849, allocations: 5.156 kB / 0.8067 GB, free: 8.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.6849, allocations: 2.531 kB / 0.8067 GB, free: 8.75 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.6849, allocations: 2.562 kB / 0.8067 GB, free: 8.75 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002009/0.6851, allocations: 51.12 kB / 0.8068 GB, free: 8.734 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.547e-06/0.6851, allocations: 2.906 kB / 0.8068 GB, free: 8.734 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002147/0.6853, allocations: 37.2 kB / 0.8068 GB, free: 8.711 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.978e-05/0.6854, allocations: 11.34 kB / 0.8068 GB, free: 8.711 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.0001489/0.6855, allocations: 152 kB / 0.807 GB, free: 8.586 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.765e-05/0.6856, allocations: 31.69 kB / 0.807 GB, free: 8.57 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004389/0.686, allocations: 226.4 kB / 0.8072 GB, free: 8.488 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.6861, allocations: 2.438 kB / 0.8072 GB, free: 8.488 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.6861, allocations: 0.8125 kB / 0.8072 GB, free: 8.488 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.6861, allocations: 7.984 kB / 0.8072 GB, free: 8.48 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001027/0.6871, allocations: 0.7033 MB / 0.8079 GB, free: 8.004 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.6871, allocations: 2.594 kB / 0.8079 GB, free: 8.004 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001686/0.6873, allocations: 38.95 kB / 0.808 GB, free: 7.996 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.586e-06/0.6873, allocations: 6.156 kB / 0.808 GB, free: 7.992 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/0.6873, allocations: 2.562 kB / 0.808 GB, free: 7.992 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-06/0.6874, allocations: 6.594 kB / 0.808 GB, free: 7.988 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.6874, allocations: 6.672 kB / 0.808 GB, free: 7.984 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006783/0.688, allocations: 450.2 kB / 0.8084 GB, free: 7.73 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001284/0.6882, allocations: 126.6 kB / 0.8085 GB, free: 7.609 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.877e-05/0.6882, allocations: 8.281 kB / 0.8085 GB, free: 7.609 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/0.6884, allocations: 16.58 kB / 0.8086 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.116e-05/0.6885, allocations: 12.98 kB / 0.8086 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.6885, allocations: 11.19 kB / 0.8086 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002115/0.6887, allocations: 229.6 kB / 0.8088 GB, free: 7.484 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6887, allocations: 4.062 kB / 0.8088 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004067/0.6891, allocations: 89.22 kB / 0.8089 GB, free: 7.469 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.001178/0.6903, allocations: 1.041 MB / 0.8099 GB, free: 6.652 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004722/0.6908, allocations: 190.3 kB / 0.8101 GB, free: 6.609 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.6908, allocations: 0 / 0.8101 GB, free: 6.609 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001922/0.691, allocations: 89.98 kB / 0.8102 GB, free: 6.594 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000912/0.6919, allocations: 164 kB / 0.8103 GB, free: 6.531 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003855/0.6958, allocations: 3.005 MB / 0.8133 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003573/0.6962, allocations: 0.7829 MB / 0.814 GB, free: 3.918 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000233/0.6964, allocations: 64.7 kB / 0.8141 GB, free: 3.895 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/0.6966, allocations: 89.22 kB / 0.8142 GB, free: 3.879 MB / 0.5919 GB Notification: Performance of SimCode: time 3.51e-07/0.6966, allocations: 6.25 kB / 0.8142 GB, free: 3.875 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03215/0.7287, allocations: 9.148 MB / 0.8231 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.932/8.66, allocations: 10.22 kB / 0.8231 GB, free: 15.34 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)