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.001291/0.001291, allocations: 104.9 kB / 15.98 MB, free: 6.348 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.00128/0.00128, allocations: 195.6 kB / 16.91 MB, free: 6.188 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.417/1.417, allocations: 205.1 MB / 222.8 MB, free: 4.703 MB / 174.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.674/1.674, allocations: 292.3 MB / 0.5492 GB, free: 13.64 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.001383/0.001383, allocations: 66.61 kB / 0.6717 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2276/0.229, allocations: 114.6 MB / 0.7835 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.003493/0.2325, allocations: 2.134 MB / 0.7856 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003199/0.2358, allocations: 2.003 MB / 0.7876 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002509/0.2361, allocations: 4 kB / 0.7876 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008313/0.2369, allocations: 247.4 kB / 0.7878 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0007936/0.2377, allocations: 263.3 kB / 0.7881 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001114/0.2389, allocations: 462.2 kB / 0.7885 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006694/0.2395, allocations: 462.8 kB / 0.7889 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.2397, allocations: 40.39 kB / 0.789 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002218/0.2399, allocations: 167.5 kB / 0.7891 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002877/0.2402, allocations: 187.3 kB / 0.7893 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.896e-05/0.2402, allocations: 12 kB / 0.7893 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007157/0.241, allocations: 443.2 kB / 0.7897 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.2411, allocations: 95.7 kB / 0.7898 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001099/0.2412, allocations: 119.3 kB / 0.7899 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005687/0.2418, allocations: 419.1 kB / 0.7903 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2418, allocations: 0 / 0.7903 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2418, allocations: 0 / 0.7903 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.2418, allocations: 0 / 0.7903 GB, free: 6.863 MB / 0.6075 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.0009405/0.2428, allocations: 0.5916 MB / 0.7909 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.2428, allocations: 12.03 kB / 0.7909 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003276/0.2431, allocations: 48.61 kB / 0.791 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004606/0.2436, allocations: 336.2 kB / 0.7913 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.2437, allocations: 12.31 kB / 0.7913 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.639e-05/0.2437, allocations: 12.38 kB / 0.7913 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003549/0.244, allocations: 153.7 kB / 0.7915 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.2441, allocations: 0 / 0.7915 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.189e-05/0.2441, allocations: 8 kB / 0.7915 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.2441, allocations: 0 / 0.7915 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000364/0.2445, allocations: 127.9 kB / 0.7916 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007438/0.2452, allocations: 0.4964 MB / 0.7921 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003315/0.2456, allocations: 126.5 kB / 0.7922 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001715/0.2458, allocations: 64.81 kB / 0.7923 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.155e-05/0.2458, allocations: 8 kB / 0.7923 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.2458, allocations: 34.69 kB / 0.7923 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.2458, allocations: 0 / 0.7923 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.000697/0.2465, allocations: 229.2 kB / 0.7925 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.2466, allocations: 59.41 kB / 0.7926 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003285/0.2469, allocations: 344.3 kB / 0.7929 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.247, allocations: 29.7 kB / 0.7929 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.2471, allocations: 148.1 kB / 0.7931 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.588e-05/0.2471, allocations: 27.56 kB / 0.7931 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.794e-05/0.2472, allocations: 53.67 kB / 0.7932 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.2473, allocations: 338.8 kB / 0.7935 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002421/0.2476, allocations: 116.8 kB / 0.7936 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002753/0.2479, allocations: 162.7 kB / 0.7938 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004953/0.2484, allocations: 282.6 kB / 0.794 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.2484, allocations: 0 / 0.794 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006388/0.249, allocations: 333.2 kB / 0.7943 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.2491, allocations: 7.984 kB / 0.7943 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.2491, allocations: 4 kB / 0.7944 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.2491, allocations: 4 kB / 0.7944 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002385/0.2494, allocations: 43.97 kB / 0.7944 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.2494, allocations: 15.81 kB / 0.7944 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001823/0.2496, allocations: 20.2 kB / 0.7944 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.526e-05/0.2496, allocations: 16 kB / 0.7944 GB, free: 2.387 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003066/0.2499, allocations: 208.7 kB / 0.7946 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00025/0.2502, allocations: 141.5 kB / 0.7948 GB, free: 2.02 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004367/0.2506, allocations: 258.2 kB / 0.795 GB, free: 1.746 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.463e-06/0.2506, allocations: 0 / 0.795 GB, free: 1.746 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0005499/0.2512, allocations: 293.2 kB / 0.7953 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.2512, allocations: 6.5 kB / 0.7953 GB, free: 1.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.2512, allocations: 4 kB / 0.7953 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.396e-06/0.2512, allocations: 0 / 0.7953 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001911/0.2514, allocations: 39.97 kB / 0.7954 GB, free: 1.406 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.2514, allocations: 7.938 kB / 0.7954 GB, free: 1.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001637/0.2516, allocations: 27.77 kB / 0.7954 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.223e-05/0.2516, allocations: 11.98 kB / 0.7954 GB, free: 1.359 MB / 0.6075 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.0001309/0.2518, allocations: 188.3 kB / 0.7956 GB, free: 1.168 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.452e-05/0.2518, allocations: 31.7 kB / 0.7956 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005149/0.2524, allocations: 192.2 kB / 0.7958 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.2524, allocations: 8 kB / 0.7958 GB, free: 0.9336 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.2524, allocations: 3.938 kB / 0.7958 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.2524, allocations: 0 / 0.7958 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003034/0.2527, allocations: 281.4 kB / 0.7961 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.2527, allocations: 7.984 kB / 0.7961 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001381/0.2529, allocations: 27.86 kB / 0.7961 GB, free: 0.5703 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.2529, allocations: 0 / 0.7961 GB, free: 0.5703 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.2529, allocations: 4 kB / 0.7961 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.2529, allocations: 0 / 0.7961 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.2529, allocations: 3.938 kB / 0.7961 GB, free: 0.5625 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004467/0.2534, allocations: 279.1 kB / 0.7964 GB, free: 280 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.2535, allocations: 112.9 kB / 0.7965 GB, free: 148 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.515e-05/0.2535, allocations: 0 / 0.7965 GB, free: 148 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001523/0.2537, allocations: 23.92 kB / 0.7965 GB, free: 124 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.579e-05/0.2537, allocations: 7.938 kB / 0.7965 GB, free: 116 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.2537, allocations: 7.984 kB / 0.7965 GB, free: 108 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000284/0.254, allocations: 239 kB / 0.7968 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.254, allocations: 0 / 0.7968 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000623/0.2547, allocations: 136 kB / 0.7969 GB, free: 15.74 MB / 0.6231 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.0005535/0.2552, allocations: 203.1 kB / 0.7971 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000822/0.2561, allocations: 332.4 kB / 0.7974 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.2561, allocations: 0 / 0.7974 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001806/0.2563, allocations: 63.95 kB / 0.7975 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005663/0.2568, allocations: 110.1 kB / 0.7976 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009038/0.2578, allocations: 0.5675 MB / 0.7981 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/0.2581, allocations: 0.7717 MB / 0.7989 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.2582, allocations: 35.42 kB / 0.7989 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of SimCode: time 2.2e-07/0.2582, allocations: 3.938 kB / 0.7989 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of Templates: time 0.008374/0.2666, allocations: 5.275 MB / 0.8041 GB, free: 8.371 MB / 0.6231 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)