Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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: translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface") translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007018/0.007018, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001669/0.001669, allocations: 197.2 kB / 16.68 MB, free: 5.93 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.456/1.456, allocations: 205.1 MB / 222.5 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.572/1.572, allocations: 251.7 MB / 0.5094 GB, free: 3.023 MB / 414.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.00166/0.00166, allocations: 68.47 kB / 0.7258 GB, free: 9.023 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1857/0.1874, allocations: 104.7 MB / 0.828 GB, free: 220 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.003471/0.1909, allocations: 2.07 MB / 0.8301 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003354/0.1943, allocations: 2.027 MB / 0.832 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002806/0.1946, allocations: 4 kB / 0.832 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0008848/0.1955, allocations: 255 kB / 0.8323 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0009803/0.1965, allocations: 297.9 kB / 0.8326 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001147/0.1977, allocations: 490.9 kB / 0.833 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0007256/0.1984, allocations: 458.8 kB / 0.8335 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.1985, allocations: 40.39 kB / 0.8335 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002095/0.1987, allocations: 159.5 kB / 0.8337 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002766/0.199, allocations: 167.4 kB / 0.8338 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.926e-05/0.1991, allocations: 12 kB / 0.8338 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000678/0.1998, allocations: 459.2 kB / 0.8343 GB, free: 9.797 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.1999, allocations: 91.78 kB / 0.8344 GB, free: 9.707 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001098/0.2, allocations: 115.3 kB / 0.8345 GB, free: 9.594 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0007121/0.2007, allocations: 0.5921 MB / 0.835 GB, free: 9 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2007, allocations: 4 kB / 0.8351 GB, free: 8.996 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.494e-06/0.2007, allocations: 3.984 kB / 0.8351 GB, free: 8.992 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.2007, allocations: 0 / 0.8351 GB, free: 8.992 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008539/0.2016, allocations: 0.5877 MB / 0.8356 GB, free: 8.355 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.2016, allocations: 12.03 kB / 0.8356 GB, free: 8.344 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003103/0.202, allocations: 52.53 kB / 0.8357 GB, free: 8.293 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005529/0.2025, allocations: 336.3 kB / 0.836 GB, free: 7.922 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.2025, allocations: 4.375 kB / 0.836 GB, free: 7.918 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.14e-05/0.2026, allocations: 12.38 kB / 0.836 GB, free: 7.906 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003873/0.203, allocations: 156.4 kB / 0.8362 GB, free: 7.75 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.203, allocations: 4 kB / 0.8362 GB, free: 7.746 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.967e-05/0.203, allocations: 4 kB / 0.8362 GB, free: 7.742 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.203, allocations: 0 / 0.8362 GB, free: 7.742 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003674/0.2034, allocations: 131.8 kB / 0.8363 GB, free: 7.613 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007323/0.2041, allocations: 496.2 kB / 0.8368 GB, free: 7.078 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003451/0.2045, allocations: 134.4 kB / 0.8369 GB, free: 6.938 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001897/0.2047, allocations: 64.81 kB / 0.837 GB, free: 6.871 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.601e-05/0.2047, allocations: 4 kB / 0.837 GB, free: 6.867 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.2048, allocations: 34.56 kB / 0.837 GB, free: 6.824 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.2048, allocations: 3.938 kB / 0.837 GB, free: 6.82 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.000704/0.2055, allocations: 237.5 kB / 0.8372 GB, free: 6.582 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/0.2055, allocations: 51.41 kB / 0.8373 GB, free: 6.52 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003366/0.2059, allocations: 344.4 kB / 0.8376 GB, free: 6.18 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.2059, allocations: 29.7 kB / 0.8376 GB, free: 6.145 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.206, allocations: 152 kB / 0.8378 GB, free: 5.992 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.22e-05/0.2061, allocations: 27.56 kB / 0.8378 GB, free: 5.965 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.089e-05/0.2061, allocations: 57.61 kB / 0.8379 GB, free: 5.902 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.2063, allocations: 338.8 kB / 0.8382 GB, free: 5.562 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002617/0.2065, allocations: 116.8 kB / 0.8383 GB, free: 5.445 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002869/0.2068, allocations: 166.7 kB / 0.8385 GB, free: 5.258 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005199/0.2074, allocations: 274.6 kB / 0.8387 GB, free: 4.965 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.2074, allocations: 0 / 0.8387 GB, free: 4.965 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006741/0.2081, allocations: 328.8 kB / 0.839 GB, free: 4.641 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/0.2081, allocations: 4.219 kB / 0.839 GB, free: 4.637 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.2081, allocations: 11.98 kB / 0.8391 GB, free: 4.625 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.2082, allocations: 0 / 0.8391 GB, free: 4.625 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002485/0.2084, allocations: 47.91 kB / 0.8391 GB, free: 4.578 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.2084, allocations: 7.938 kB / 0.8391 GB, free: 4.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001733/0.2086, allocations: 27.73 kB / 0.8391 GB, free: 4.543 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.14e-05/0.2086, allocations: 12 kB / 0.8391 GB, free: 4.531 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003053/0.209, allocations: 204 kB / 0.8393 GB, free: 4.328 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002488/0.2092, allocations: 153.7 kB / 0.8395 GB, free: 4.156 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004566/0.2097, allocations: 226.7 kB / 0.8397 GB, free: 3.91 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.117e-06/0.2097, allocations: 8 kB / 0.8397 GB, free: 3.902 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0006339/0.2103, allocations: 289 kB / 0.84 GB, free: 3.613 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 7.755e-06/0.2104, allocations: 8 kB / 0.84 GB, free: 3.605 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.404e-06/0.2104, allocations: 224 / 0.84 GB, free: 3.605 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.116e-06/0.2104, allocations: 8 kB / 0.84 GB, free: 3.598 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001979/0.2106, allocations: 51.91 kB / 0.8401 GB, free: 3.547 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.2106, allocations: 4 kB / 0.8401 GB, free: 3.543 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001534/0.2107, allocations: 23.77 kB / 0.8401 GB, free: 3.52 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.205e-05/0.2108, allocations: 12 kB / 0.8401 GB, free: 3.508 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (19): * Single equations (assignments): 18 * Array equations: 1 * 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.0001351/0.2109, allocations: 192.6 kB / 0.8403 GB, free: 3.312 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.777e-05/0.211, allocations: 27.62 kB / 0.8403 GB, free: 3.285 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005446/0.2115, allocations: 208.1 kB / 0.8405 GB, free: 3.074 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.2115, allocations: 4 kB / 0.8405 GB, free: 3.07 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.2115, allocations: 3.938 kB / 0.8405 GB, free: 3.066 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.2116, allocations: 0 / 0.8405 GB, free: 3.066 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000329/0.2119, allocations: 277.5 kB / 0.8408 GB, free: 2.746 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.2119, allocations: 0 / 0.8408 GB, free: 2.746 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001464/0.2121, allocations: 27.97 kB / 0.8408 GB, free: 2.719 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.2121, allocations: 0 / 0.8408 GB, free: 2.719 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.2121, allocations: 8 kB / 0.8408 GB, free: 2.711 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.2121, allocations: 0 / 0.8408 GB, free: 2.711 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.2121, allocations: 3.938 kB / 0.8408 GB, free: 2.707 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004844/0.2126, allocations: 279 kB / 0.8411 GB, free: 2.418 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.2127, allocations: 108.8 kB / 0.8412 GB, free: 2.293 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.238e-05/0.2128, allocations: 4 kB / 0.8412 GB, free: 2.289 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001525/0.2129, allocations: 11.98 kB / 0.8412 GB, free: 2.277 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.178e-05/0.213, allocations: 7.938 kB / 0.8412 GB, free: 2.27 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.213, allocations: 8 kB / 0.8412 GB, free: 2.262 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002504/0.2133, allocations: 243 kB / 0.8414 GB, free: 2.023 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.81e-07/0.2133, allocations: 3.938 kB / 0.8414 GB, free: 2.02 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006308/0.2139, allocations: 139.9 kB / 0.8416 GB, free: 1.883 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (10): * Single equations (assignments): 10 * 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.0005301/0.2144, allocations: 207.1 kB / 0.8418 GB, free: 1.672 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0008775/0.2153, allocations: 328.6 kB / 0.8421 GB, free: 1.352 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.2153, allocations: 4.125 kB / 0.8421 GB, free: 1.348 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001968/0.2156, allocations: 67.89 kB / 0.8422 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005373/0.2161, allocations: 99.23 kB / 0.8423 GB, free: 1.184 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008111/0.2169, allocations: 479.5 kB / 0.8427 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000372/0.2173, allocations: 0.7715 MB / 0.8435 GB, free: 15.89 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002355/0.2175, allocations: 78.92 kB / 0.8435 GB, free: 15.81 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.699e-05/0.2176, allocations: 31.36 kB / 0.8436 GB, free: 15.78 MB / 0.67 GB Notification: Performance of SimCode: time 2.31e-07/0.2176, allocations: 4 kB / 0.8436 GB, free: 15.78 MB / 0.67 GB Notification: Performance of Templates: time 0.01153/0.2292, allocations: 6.568 MB / 0.85 GB, free: 9.297 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)