Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7011/0.7011, allocations: 128.7 MB / 144.5 MB, free: 1.375 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00126/0.001261, allocations: 187.2 kB / 174.3 MB, free: 5.934 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.383/1.383, allocations: 205 MB / 408.9 MB, free: 9.742 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00118/0.00118, allocations: 102.1 kB / 485.1 MB, free: 13.58 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00102/0.00102, allocations: 57.33 kB / 0.558 GB, free: 97.47 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1275, allocations: 75.48 MB / 0.6317 GB, free: 33.03 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate): time 0.4584/0.5859, allocations: 174.6 MB / 0.8022 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.003627/0.5896, allocations: 1.622 MB / 0.8037 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004101/0.5901, allocations: 10.66 kB / 0.8037 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0004759/0.5906, allocations: 115.7 kB / 0.8039 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001625/0.5922, allocations: 0.6617 MB / 0.8045 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001354/0.5936, allocations: 0.5215 MB / 0.805 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001109/0.5947, allocations: 1.054 MB / 0.806 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003488/0.5951, allocations: 203 kB / 0.8062 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005839/0.5957, allocations: 319.9 kB / 0.8065 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003184/0.596, allocations: 232 kB / 0.8068 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 4.625e-05/0.5961, allocations: 15.38 kB / 0.8068 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001837/0.5979, allocations: 1.011 MB / 0.8078 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001673/0.5981, allocations: 108.1 kB / 0.8079 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.000223/0.5983, allocations: 151.8 kB / 0.808 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001151/0.5995, allocations: 0.772 MB / 0.8088 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.5995, allocations: 3.938 kB / 0.8088 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of FrontEnd: time 9.22e-07/0.5995, allocations: 4 kB / 0.8088 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.5995, allocations: 1.375 kB / 0.8088 GB, free: 10.33 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001052/0.6006, allocations: 0.6452 MB / 0.8094 GB, free: 9.805 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.6006, allocations: 14.61 kB / 0.8094 GB, free: 9.801 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001033/0.6017, allocations: 149.9 kB / 0.8096 GB, free: 9.742 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003935/0.6021, allocations: 299.3 kB / 0.8098 GB, free: 9.48 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.6021, allocations: 21.62 kB / 0.8099 GB, free: 9.477 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.298e-05/0.6021, allocations: 20.91 kB / 0.8099 GB, free: 9.477 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004549/0.6026, allocations: 270.5 kB / 0.8101 GB, free: 9.363 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.6026, allocations: 3.984 kB / 0.8101 GB, free: 9.359 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.269e-05/0.6027, allocations: 9.344 kB / 0.8102 GB, free: 9.359 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.6027, allocations: 5.156 kB / 0.8102 GB, free: 9.359 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003856/0.6031, allocations: 209 kB / 0.8104 GB, free: 9.309 MB / 0.5261 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.001205/0.6043, allocations: 1.036 MB / 0.8114 GB, free: 8.508 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00025/0.6045, allocations: 159.9 kB / 0.8115 GB, free: 8.457 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001563/0.6047, allocations: 88.86 kB / 0.8116 GB, free: 8.434 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005849/0.6053, allocations: 305.4 kB / 0.8119 GB, free: 8.125 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/0.6053, allocations: 34.19 kB / 0.8119 GB, free: 8.086 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=14): time 1.442e-06/0.6053, allocations: 0 / 0.8119 GB, free: 8.086 MB / 0.5261 GB Notification: Performance of matching and sorting (n=14): time 0.0006604/0.606, allocations: 282.3 kB / 0.8122 GB, free: 7.988 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.6061, allocations: 54.16 kB / 0.8123 GB, free: 7.926 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002625/0.6063, allocations: 318 kB / 0.8126 GB, free: 7.773 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.6063, allocations: 25.7 kB / 0.8126 GB, free: 7.742 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.692e-05/0.6064, allocations: 171.9 kB / 0.8127 GB, free: 7.629 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.206e-05/0.6065, allocations: 56.58 kB / 0.8128 GB, free: 7.59 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.281e-05/0.6066, allocations: 42.86 kB / 0.8128 GB, free: 7.566 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.6067, allocations: 339.9 kB / 0.8132 GB, free: 7.246 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.6068, allocations: 64.52 kB / 0.8132 GB, free: 7.234 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001723/0.607, allocations: 113.4 kB / 0.8133 GB, free: 7.176 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003303/0.6074, allocations: 181.8 kB / 0.8135 GB, free: 7.105 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.6074, allocations: 0 / 0.8135 GB, free: 7.105 MB / 0.5261 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004124/0.6078, allocations: 234.8 kB / 0.8137 GB, free: 7.023 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.6078, allocations: 11.56 kB / 0.8137 GB, free: 7.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.6078, allocations: 0 / 0.8137 GB, free: 7.02 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.6078, allocations: 2.688 kB / 0.8137 GB, free: 7.02 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001819/0.608, allocations: 37.89 kB / 0.8138 GB, free: 7.012 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.608, allocations: 2.5 kB / 0.8138 GB, free: 7.012 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001658/0.6082, allocations: 33.7 kB / 0.8138 GB, free: 6.992 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.427e-05/0.6082, allocations: 7.594 kB / 0.8138 GB, free: 6.992 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (21): * Single equations (assignments): 21 * 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.0001382/0.6084, allocations: 155.8 kB / 0.814 GB, free: 6.863 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.111e-05/0.6084, allocations: 34.81 kB / 0.814 GB, free: 6.844 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004123/0.6089, allocations: 208.9 kB / 0.8142 GB, free: 6.77 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.6089, allocations: 2.438 kB / 0.8142 GB, free: 6.77 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.6089, allocations: 3.984 kB / 0.8142 GB, free: 6.766 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.6089, allocations: 3.938 kB / 0.8142 GB, free: 6.762 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008993/0.6098, allocations: 0.6609 MB / 0.8149 GB, free: 6.305 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.6098, allocations: 2.562 kB / 0.8149 GB, free: 6.305 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001476/0.61, allocations: 34.69 kB / 0.8149 GB, free: 6.293 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.61, allocations: 2.312 kB / 0.8149 GB, free: 6.293 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.848e-05/0.61, allocations: 12.62 kB / 0.8149 GB, free: 6.289 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-06/0.61, allocations: 6.656 kB / 0.8149 GB, free: 6.285 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.61, allocations: 3.938 kB / 0.8149 GB, free: 6.281 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00392/0.6139, allocations: 1.999 MB / 0.8169 GB, free: 4.91 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.69e-05/0.614, allocations: 118.5 kB / 0.817 GB, free: 4.789 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.107e-05/0.6141, allocations: 6.188 kB / 0.817 GB, free: 4.785 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000182/0.6143, allocations: 17.45 kB / 0.817 GB, free: 4.781 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.742e-05/0.6143, allocations: 8.703 kB / 0.817 GB, free: 4.777 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.6143, allocations: 9.281 kB / 0.817 GB, free: 4.773 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001769/0.6145, allocations: 227.9 kB / 0.8172 GB, free: 4.668 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6145, allocations: 0 / 0.8172 GB, free: 4.668 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004424/0.615, allocations: 107.4 kB / 0.8173 GB, free: 4.66 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (14): * Single equations (assignments): 14 * 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.0003528/0.6153, allocations: 167.9 kB / 0.8175 GB, free: 4.551 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003698/0.6157, allocations: 172.4 kB / 0.8177 GB, free: 4.508 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.6157, allocations: 0 / 0.8177 GB, free: 4.508 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001651/0.6159, allocations: 79.98 kB / 0.8177 GB, free: 4.492 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008232/0.6167, allocations: 160.5 kB / 0.8179 GB, free: 4.434 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009901/0.6177, allocations: 0.8277 MB / 0.8187 GB, free: 3.824 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003509/0.6181, allocations: 0.7799 MB / 0.8195 GB, free: 3.086 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001966/0.6183, allocations: 56.41 kB / 0.8195 GB, free: 3.062 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.997e-05/0.6184, allocations: 28.8 kB / 0.8195 GB, free: 3.051 MB / 0.5261 GB Notification: Performance of SimCode: time 2.3e-07/0.6184, allocations: 4 kB / 0.8196 GB, free: 3.047 MB / 0.5261 GB Notification: Performance of Templates: time 0.009274/0.6276, allocations: 5.608 MB / 0.825 GB, free: 296 kB / 0.5261 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)