Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.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.PowerInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface") translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006999/0.0007001, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005303/0.005303, allocations: 169.5 kB / 16.27 MB, free: 6.652 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.537/1.537, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.747/1.747, allocations: 292.7 MB / 0.5502 GB, free: 14.5 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.0005477/0.0005476, allocations: 18.09 kB / 0.6743 GB, free: 25.86 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2811/0.2816, allocations: 116.3 MB / 0.7879 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002366/0.2841, allocations: 1.328 MB / 0.7892 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007874/0.2849, allocations: 304 kB / 0.7895 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.736e-05/0.2849, allocations: 4 kB / 0.7895 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.694e-05/0.285, allocations: 3.938 kB / 0.7895 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001122/0.2851, allocations: 19.84 kB / 0.7895 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003195/0.2854, allocations: 55.95 kB / 0.7895 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000146/0.2856, allocations: 103.6 kB / 0.7896 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.2857, allocations: 27.97 kB / 0.7897 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.502e-05/0.2858, allocations: 35.86 kB / 0.7897 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.46e-05/0.2859, allocations: 43.7 kB / 0.7897 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.2859, allocations: 7.938 kB / 0.7898 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.313e-05/0.286, allocations: 19.98 kB / 0.7898 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.185e-05/0.2861, allocations: 15.92 kB / 0.7898 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.114e-05/0.2861, allocations: 57.5 kB / 0.7898 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001786/0.2863, allocations: 99.88 kB / 0.7899 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2863, allocations: 0 / 0.7899 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.094e-06/0.2863, allocations: 4 kB / 0.7899 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.596e-06/0.2863, allocations: 0 / 0.7899 GB, free: 9.477 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005796/0.2869, allocations: 383.2 kB / 0.7903 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.287, allocations: 8.031 kB / 0.7903 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001141/0.2881, allocations: 148.6 kB / 0.7905 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001709/0.2883, allocations: 176.2 kB / 0.7906 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.941e-05/0.2884, allocations: 4.375 kB / 0.7906 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.79e-05/0.2884, allocations: 8.375 kB / 0.7906 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005852/0.289, allocations: 165 kB / 0.7908 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.289, allocations: 4.188 kB / 0.7908 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.145e-05/0.289, allocations: 7.938 kB / 0.7908 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.289, allocations: 0 / 0.7908 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007686/0.2898, allocations: 171.8 kB / 0.791 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001034/0.2909, allocations: 456.4 kB / 0.7914 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007551/0.2916, allocations: 162.4 kB / 0.7916 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003648/0.292, allocations: 80.92 kB / 0.7916 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.594e-05/0.292, allocations: 7.984 kB / 0.7916 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.2921, allocations: 34.56 kB / 0.7917 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 2.354e-06/0.2921, allocations: 0 / 0.7917 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.001234/0.2933, allocations: 285.2 kB / 0.7919 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.2934, allocations: 55.34 kB / 0.792 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.2935, allocations: 152.7 kB / 0.7921 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.2936, allocations: 29.7 kB / 0.7922 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.661e-05/0.2936, allocations: 100 kB / 0.7923 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.107e-05/0.2937, allocations: 19.73 kB / 0.7923 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.749e-05/0.2937, allocations: 17.72 kB / 0.7923 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.2938, allocations: 318.8 kB / 0.7926 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003814/0.2942, allocations: 83.92 kB / 0.7927 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003646/0.2946, allocations: 75.92 kB / 0.7928 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007466/0.2953, allocations: 160.7 kB / 0.7929 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.2953, allocations: 0 / 0.7929 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0008319/0.2962, allocations: 213.3 kB / 0.7931 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.775e-05/0.2963, allocations: 100.9 kB / 0.7932 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.2963, allocations: 0 / 0.7932 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.2963, allocations: 0 / 0.7932 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002717/0.2966, allocations: 43.94 kB / 0.7933 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.2966, allocations: 3.938 kB / 0.7933 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002273/0.2968, allocations: 32.22 kB / 0.7933 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.552e-05/0.2969, allocations: 0 / 0.7933 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.696e-06/0.2969, allocations: 4 kB / 0.7933 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002183/0.2971, allocations: 84.19 kB / 0.7934 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.465e-06/0.2971, allocations: 3.984 kB / 0.7934 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-06/0.2971, allocations: 0 / 0.7934 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.426e-05/0.2972, allocations: 23.98 kB / 0.7934 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-06/0.2972, allocations: 0 / 0.7934 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.204e-05/0.2973, allocations: 19.83 kB / 0.7934 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-06/0.2973, allocations: 7.938 kB / 0.7934 GB, free: 5.672 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (7): * Single equations (assignments): 7 * 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.0001455/0.2975, allocations: 189.8 kB / 0.7936 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.618e-05/0.2975, allocations: 7.906 kB / 0.7936 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.182e-05/0.2976, allocations: 12.31 kB / 0.7936 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.2976, allocations: 0 / 0.7936 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.2976, allocations: 3.984 kB / 0.7936 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.2976, allocations: 3.938 kB / 0.7936 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001137/0.2987, allocations: 0.4921 MB / 0.7941 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.2987, allocations: 0 / 0.7941 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002401/0.299, allocations: 47.94 kB / 0.7942 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.299, allocations: 8.047 kB / 0.7942 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.299, allocations: 3.984 kB / 0.7942 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.299, allocations: 4 kB / 0.7942 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.299, allocations: 0 / 0.7942 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008654/0.2999, allocations: 312.9 kB / 0.7945 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.194e-05/0.3, allocations: 96.98 kB / 0.7946 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.679e-05/0.3, allocations: 3.938 kB / 0.7946 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002428/0.3003, allocations: 35.97 kB / 0.7946 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.894e-05/0.3003, allocations: 0 / 0.7946 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.3003, allocations: 7.984 kB / 0.7946 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.291e-05/0.3004, allocations: 123.1 kB / 0.7947 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3004, allocations: 4 kB / 0.7947 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003135/0.3008, allocations: 28 kB / 0.7948 GB, free: 4.184 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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.0001399/0.3009, allocations: 95.25 kB / 0.7949 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0009202/0.3018, allocations: 211.8 kB / 0.7951 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3019, allocations: 0 / 0.7951 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003879/0.3022, allocations: 91.98 kB / 0.7951 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003516/0.3026, allocations: 15.88 kB / 0.7952 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.3037, allocations: 328.6 kB / 0.7955 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.304, allocations: 0.6926 MB / 0.7961 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.672e-05/0.3041, allocations: 23.92 kB / 0.7962 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.925e-05/0.3042, allocations: 15.42 kB / 0.7962 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of SimCode: time 2.766e-06/0.3042, allocations: 0 / 0.7962 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of Templates: time 0.004002/0.3082, allocations: 1.302 MB / 0.7975 GB, free: 1.363 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & ./Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1) Environment - environmentSimulation: