Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface") translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001356/0.001357, allocations: 101.6 kB / 16.27 MB, free: 5.855 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.001124/0.001124, allocations: 188.6 kB / 17.19 MB, free: 5.504 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.361/1.361, allocations: 205.1 MB / 223.1 MB, free: 12.28 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.735/1.735, allocations: 292.3 MB / 0.5495 GB, free: 17.6 MB / 462.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.001393/0.001393, allocations: 79.17 kB / 0.6722 GB, free: 6.496 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.2293, allocations: 114.6 MB / 0.784 GB, free: 3.816 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.003622/0.233, allocations: 2.068 MB / 0.7861 GB, free: 1.727 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3648/0.5978, allocations: 1.994 MB / 0.788 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003245/0.5982, allocations: 6.75 kB / 0.788 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0007678/0.599, allocations: 269.5 kB / 0.7883 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0007016/0.5997, allocations: 291.5 kB / 0.7885 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009264/0.6007, allocations: 487.1 kB / 0.789 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0005067/0.6012, allocations: 459.2 kB / 0.7894 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.6013, allocations: 38.14 kB / 0.7895 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000181/0.6015, allocations: 165.7 kB / 0.7896 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002445/0.6017, allocations: 164.7 kB / 0.7898 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.692e-05/0.6018, allocations: 17.34 kB / 0.7898 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00055/0.6023, allocations: 444.7 kB / 0.7902 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.563e-05/0.6024, allocations: 90.97 kB / 0.7903 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 9.472e-05/0.6025, allocations: 121.8 kB / 0.7904 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0006134/0.6032, allocations: 0.5763 MB / 0.791 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.6032, allocations: 0.5938 kB / 0.791 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6032, allocations: 0 / 0.791 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.223e-06/0.6032, allocations: 0.5312 kB / 0.791 GB, free: 45.79 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.0007967/0.604, allocations: 0.595 MB / 0.7916 GB, free: 45.31 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.604, allocations: 9.656 kB / 0.7916 GB, free: 45.31 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003005/0.6044, allocations: 47.5 kB / 0.7916 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003807/0.6047, allocations: 336.8 kB / 0.792 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.6048, allocations: 13.91 kB / 0.792 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.947e-05/0.6048, allocations: 13.19 kB / 0.792 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003249/0.6051, allocations: 153.9 kB / 0.7921 GB, free: 45.03 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.6052, allocations: 3.281 kB / 0.7921 GB, free: 45.03 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/0.6052, allocations: 4.812 kB / 0.7921 GB, free: 45.03 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.6052, allocations: 0 / 0.7921 GB, free: 45.03 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003384/0.6055, allocations: 127.4 kB / 0.7923 GB, free: 45.03 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006567/0.6062, allocations: 0.4923 MB / 0.7927 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003096/0.6065, allocations: 127.8 kB / 0.7929 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001668/0.6067, allocations: 64.88 kB / 0.7929 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.6067, allocations: 7.75 kB / 0.7929 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.479e-05/0.6067, allocations: 40.64 kB / 0.793 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 1.312e-06/0.6068, allocations: 0.6562 kB / 0.793 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.0006445/0.6074, allocations: 229.2 kB / 0.7932 GB, free: 44.63 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.407e-05/0.6074, allocations: 56.28 kB / 0.7932 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002621/0.6077, allocations: 336.6 kB / 0.7936 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.6077, allocations: 33.27 kB / 0.7936 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.836e-05/0.6078, allocations: 150.6 kB / 0.7937 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.301e-05/0.6079, allocations: 30.09 kB / 0.7938 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.608e-05/0.6079, allocations: 47.16 kB / 0.7938 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.981e-05/0.608, allocations: 342.3 kB / 0.7941 GB, free: 44 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002394/0.6083, allocations: 118.8 kB / 0.7943 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002457/0.6085, allocations: 163 kB / 0.7944 GB, free: 43.92 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004644/0.609, allocations: 283.6 kB / 0.7947 GB, free: 43.85 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.609, allocations: 1.625 kB / 0.7947 GB, free: 43.85 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005776/0.6096, allocations: 335.8 kB / 0.795 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.6096, allocations: 3.719 kB / 0.795 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.6097, allocations: 7.5 kB / 0.795 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.386e-05/0.6097, allocations: 3.438 kB / 0.795 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002289/0.6099, allocations: 44.89 kB / 0.7951 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.6099, allocations: 6.594 kB / 0.7951 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001761/0.6101, allocations: 28.14 kB / 0.7951 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.996e-05/0.6102, allocations: 13.11 kB / 0.7951 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002764/0.6104, allocations: 218.5 kB / 0.7953 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002139/0.6107, allocations: 136.8 kB / 0.7954 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003945/0.6111, allocations: 237 kB / 0.7957 GB, free: 43.57 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.983e-06/0.6111, allocations: 3.234 kB / 0.7957 GB, free: 43.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0005153/0.6116, allocations: 286.4 kB / 0.7959 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.6116, allocations: 7.141 kB / 0.796 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.6116, allocations: 7.719 kB / 0.796 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.169e-06/0.6116, allocations: 3.125 kB / 0.796 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000186/0.6118, allocations: 46.42 kB / 0.796 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.6118, allocations: 5.594 kB / 0.796 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001599/0.612, allocations: 24.2 kB / 0.796 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.407e-05/0.612, allocations: 19.31 kB / 0.7961 GB, free: 43.5 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 8.485e-05/0.6121, allocations: 182 kB / 0.7962 GB, free: 43.32 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.875e-05/0.6122, allocations: 29.02 kB / 0.7963 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004937/0.6127, allocations: 199.1 kB / 0.7964 GB, free: 43.26 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.6127, allocations: 5.156 kB / 0.7965 GB, free: 43.26 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.6127, allocations: 2.062 kB / 0.7965 GB, free: 43.26 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.6127, allocations: 7.938 kB / 0.7965 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002677/0.613, allocations: 272.7 kB / 0.7967 GB, free: 43.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.613, allocations: 0 / 0.7967 GB, free: 43.06 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001386/0.6131, allocations: 29.67 kB / 0.7968 GB, free: 43.06 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.6132, allocations: 0 / 0.7968 GB, free: 43.06 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.6132, allocations: 6.25 kB / 0.7968 GB, free: 43.06 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.6132, allocations: 1.031 kB / 0.7968 GB, free: 43.06 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.6132, allocations: 0 / 0.7968 GB, free: 43.06 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004194/0.6136, allocations: 278.7 kB / 0.797 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.6137, allocations: 113.5 kB / 0.7971 GB, free: 42.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.568e-05/0.6138, allocations: 3.375 kB / 0.7971 GB, free: 42.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001547/0.6139, allocations: 8.156 kB / 0.7971 GB, free: 42.8 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.708e-05/0.614, allocations: 21.08 kB / 0.7972 GB, free: 42.8 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.614, allocations: 7.625 kB / 0.7972 GB, free: 42.8 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002068/0.6142, allocations: 242.4 kB / 0.7974 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6142, allocations: 0 / 0.7974 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006123/0.6148, allocations: 142.5 kB / 0.7975 GB, free: 42.7 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.0004037/0.6153, allocations: 201.5 kB / 0.7977 GB, free: 42.59 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007862/0.616, allocations: 330.8 kB / 0.798 GB, free: 42.59 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.6161, allocations: 1.219 kB / 0.798 GB, free: 42.59 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000186/0.6163, allocations: 68.69 kB / 0.7981 GB, free: 42.59 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000538/0.6168, allocations: 104.5 kB / 0.7982 GB, free: 42.59 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007575/0.6176, allocations: 0.5153 MB / 0.7987 GB, free: 42.33 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002042/0.6178, allocations: 0.769 MB / 0.7995 GB, free: 41.62 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.748e-05/0.6179, allocations: 30.59 kB / 0.7995 GB, free: 41.62 MB / 0.6544 GB Notification: Performance of SimCode: time 3.41e-07/0.6179, allocations: 0 / 0.7995 GB, free: 41.62 MB / 0.6544 GB Notification: Performance of Templates: time 0.01081/0.6287, allocations: 5.3 MB / 0.8047 GB, free: 41.3 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.makefile (rm -f Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & ./Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)