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.001131/0.001131, allocations: 107.3 kB / 16.29 MB, free: 6.016 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.001179/0.001179, allocations: 185.8 kB / 17.22 MB, free: 5.621 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.392/1.392, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.891/1.891, allocations: 292.3 MB / 0.5495 GB, free: 17.55 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.001767/0.001768, allocations: 71.91 kB / 0.6722 GB, free: 6.551 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.2688, allocations: 114.6 MB / 0.7841 GB, free: 3.883 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.003857/0.2727, allocations: 2.076 MB / 0.7861 GB, free: 1.785 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4464/0.7191, allocations: 2.005 MB / 0.7881 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003166/0.7195, allocations: 5.875 kB / 0.7881 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0008511/0.7204, allocations: 259.2 kB / 0.7883 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0007902/0.7212, allocations: 294.8 kB / 0.7886 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001164/0.7224, allocations: 487.2 kB / 0.7891 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0007089/0.7231, allocations: 456 kB / 0.7895 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.7232, allocations: 35.17 kB / 0.7895 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002295/0.7235, allocations: 170.1 kB / 0.7897 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002833/0.7238, allocations: 167.1 kB / 0.7898 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.557e-05/0.7238, allocations: 13.12 kB / 0.7899 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006315/0.7245, allocations: 448.1 kB / 0.7903 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001148/0.7246, allocations: 96.22 kB / 0.7904 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001084/0.7247, allocations: 116.7 kB / 0.7905 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0006514/0.7254, allocations: 0.588 MB / 0.7911 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.7254, allocations: 0 / 0.7911 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.482e-06/0.7254, allocations: 0 / 0.7911 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.306e-06/0.7254, allocations: 2.625 kB / 0.7911 GB, free: 45.78 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.000816/0.7262, allocations: 0.5894 MB / 0.7916 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.7263, allocations: 11.5 kB / 0.7917 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003156/0.7266, allocations: 53.75 kB / 0.7917 GB, free: 45.29 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004111/0.727, allocations: 328.6 kB / 0.792 GB, free: 45.06 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.727, allocations: 11.06 kB / 0.792 GB, free: 45.06 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.408e-05/0.7271, allocations: 10.94 kB / 0.792 GB, free: 45.06 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003309/0.7274, allocations: 154.9 kB / 0.7922 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.7274, allocations: 2.562 kB / 0.7922 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.918e-05/0.7274, allocations: 5.5 kB / 0.7922 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.7275, allocations: 0 / 0.7922 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000371/0.7278, allocations: 131.2 kB / 0.7923 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006906/0.7285, allocations: 0.489 MB / 0.7928 GB, free: 44.74 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003209/0.7289, allocations: 132.8 kB / 0.7929 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001648/0.729, allocations: 68.33 kB / 0.793 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.221e-05/0.7291, allocations: 0.5 kB / 0.793 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.814e-05/0.7291, allocations: 33.75 kB / 0.793 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 2.154e-06/0.7291, allocations: 3 kB / 0.793 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.0006452/0.7298, allocations: 234.1 kB / 0.7932 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.7298, allocations: 58.81 kB / 0.7933 GB, free: 44.56 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002902/0.7301, allocations: 339.8 kB / 0.7936 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.7301, allocations: 29.14 kB / 0.7937 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.866e-05/0.7302, allocations: 147.8 kB / 0.7938 GB, free: 44.33 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.005e-05/0.7303, allocations: 34.48 kB / 0.7938 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.734e-05/0.7303, allocations: 44.22 kB / 0.7939 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.276e-05/0.7304, allocations: 341.5 kB / 0.7942 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000238/0.7307, allocations: 117.2 kB / 0.7943 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002494/0.7309, allocations: 173.3 kB / 0.7945 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004623/0.7314, allocations: 274.6 kB / 0.7947 GB, free: 43.85 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.7314, allocations: 0 / 0.7947 GB, free: 43.85 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005853/0.732, allocations: 342 kB / 0.7951 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.732, allocations: 4 kB / 0.7951 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.7321, allocations: 6.812 kB / 0.7951 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.7321, allocations: 3.406 kB / 0.7951 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002246/0.7323, allocations: 44.52 kB / 0.7951 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.7323, allocations: 0.5938 kB / 0.7951 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001655/0.7325, allocations: 30.06 kB / 0.7951 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.065e-05/0.7325, allocations: 20.73 kB / 0.7952 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002547/0.7328, allocations: 209.8 kB / 0.7954 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001998/0.733, allocations: 136.7 kB / 0.7955 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003847/0.7334, allocations: 242.2 kB / 0.7957 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.342e-06/0.7334, allocations: 0 / 0.7957 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0004914/0.7339, allocations: 290.5 kB / 0.796 GB, free: 43.51 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 8.636e-06/0.7339, allocations: 8.344 kB / 0.796 GB, free: 43.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.7339, allocations: 2.562 kB / 0.796 GB, free: 43.51 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.218e-06/0.7339, allocations: 3.5 kB / 0.796 GB, free: 43.51 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/0.7341, allocations: 46.03 kB / 0.7961 GB, free: 43.51 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.7341, allocations: 7.5 kB / 0.7961 GB, free: 43.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001468/0.7343, allocations: 18.19 kB / 0.7961 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.913e-05/0.7343, allocations: 19.11 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.334e-05/0.7344, allocations: 188.1 kB / 0.7963 GB, free: 43.32 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.651e-05/0.7345, allocations: 24.31 kB / 0.7963 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005191/0.735, allocations: 210.3 kB / 0.7965 GB, free: 43.26 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.735, allocations: 4 kB / 0.7965 GB, free: 43.26 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.735, allocations: 0 / 0.7965 GB, free: 43.26 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.735, allocations: 5.062 kB / 0.7965 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000307/0.7353, allocations: 273.5 kB / 0.7968 GB, free: 43.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.7353, allocations: 0 / 0.7968 GB, free: 43.06 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001421/0.7355, allocations: 24.88 kB / 0.7968 GB, free: 43.06 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.7355, allocations: 1.875 kB / 0.7968 GB, free: 43.06 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.7355, allocations: 6.703 kB / 0.7968 GB, free: 43.06 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.7355, allocations: 0.8438 kB / 0.7968 GB, free: 43.06 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.7355, allocations: 0 / 0.7968 GB, free: 43.06 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004561/0.736, allocations: 282.1 kB / 0.7971 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.7361, allocations: 108.8 kB / 0.7972 GB, free: 42.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.012e-05/0.7362, allocations: 10.11 kB / 0.7972 GB, free: 42.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/0.7363, allocations: 13.34 kB / 0.7972 GB, free: 42.8 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.544e-05/0.7364, allocations: 10.55 kB / 0.7972 GB, free: 42.79 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.7364, allocations: 4.844 kB / 0.7972 GB, free: 42.79 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002656/0.7367, allocations: 242.4 kB / 0.7975 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7367, allocations: 0 / 0.7975 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007036/0.7374, allocations: 149.5 kB / 0.7976 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.0005668/0.738, allocations: 200.4 kB / 0.7978 GB, free: 42.59 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007844/0.7388, allocations: 332.1 kB / 0.7981 GB, free: 42.59 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.7388, allocations: 0 / 0.7981 GB, free: 42.59 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001857/0.739, allocations: 67.2 kB / 0.7982 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.0005117/0.7395, allocations: 98.8 kB / 0.7983 GB, free: 42.59 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008524/0.7404, allocations: 481.1 kB / 0.7987 GB, free: 42.36 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000205/0.7406, allocations: 0.7703 MB / 0.7995 GB, free: 41.66 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002289/0.7408, allocations: 79.44 kB / 0.7996 GB, free: 41.64 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.328e-05/0.7409, allocations: 30.59 kB / 0.7996 GB, free: 41.64 MB / 0.6544 GB Notification: Performance of SimCode: time 2.51e-07/0.7409, allocations: 0 / 0.7996 GB, free: 41.64 MB / 0.6544 GB Notification: Performance of Templates: time 0.0158/0.7567, allocations: 6.549 MB / 0.806 GB, free: 41.34 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)