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.0009068/0.0009069, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.0009632/0.000963, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.385/1.385, allocations: 205.4 MB / 222.1 MB, free: 5.875 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.634/1.634, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0004922/0.0004922, allocations: 11.91 kB / 0.6737 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2237, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.001808/0.2256, allocations: 1.309 MB / 0.7886 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0006295/0.2263, allocations: 292.2 kB / 0.7888 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.903e-05/0.2263, allocations: 0 / 0.7888 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.085e-05/0.2264, allocations: 3.938 kB / 0.7889 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001096/0.2265, allocations: 19.86 kB / 0.7889 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002838/0.2268, allocations: 43.94 kB / 0.7889 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001232/0.2269, allocations: 99.64 kB / 0.789 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001515/0.227, allocations: 19.98 kB / 0.789 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.284e-05/0.2271, allocations: 31.84 kB / 0.7891 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.956e-05/0.2272, allocations: 39.84 kB / 0.7891 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.2273, allocations: 4 kB / 0.7891 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.46e-05/0.2273, allocations: 27.97 kB / 0.7891 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.658e-05/0.2274, allocations: 11.94 kB / 0.7891 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.295e-05/0.2274, allocations: 37.64 kB / 0.7892 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000127/0.2275, allocations: 68.08 kB / 0.7892 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.2276, allocations: 0 / 0.7892 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.944e-06/0.2276, allocations: 0 / 0.7892 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.2276, allocations: 4 kB / 0.7892 GB, free: 9.926 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.0006938/0.2283, allocations: 391.1 kB / 0.7896 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.2283, allocations: 8.031 kB / 0.7896 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009131/0.2293, allocations: 139.6 kB / 0.7898 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.2294, allocations: 178.9 kB / 0.7899 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.2294, allocations: 8 kB / 0.7899 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.971e-05/0.2295, allocations: 8 kB / 0.7899 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005003/0.23, allocations: 172.5 kB / 0.7901 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.23, allocations: 0 / 0.7901 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.23, allocations: 0 / 0.7901 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.605e-06/0.23, allocations: 4 kB / 0.7901 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000676/0.2307, allocations: 179.8 kB / 0.7903 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001032/0.2317, allocations: 448.5 kB / 0.7907 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006675/0.2324, allocations: 158.4 kB / 0.7909 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003245/0.2328, allocations: 88.91 kB / 0.7909 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.2328, allocations: 0 / 0.7909 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.2328, allocations: 30.56 kB / 0.791 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 2.084e-06/0.2328, allocations: 4 kB / 0.791 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.001093/0.2339, allocations: 289.2 kB / 0.7913 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/0.234, allocations: 51.41 kB / 0.7913 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.2341, allocations: 158.2 kB / 0.7915 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.2342, allocations: 29.7 kB / 0.7915 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.555e-05/0.2342, allocations: 96.05 kB / 0.7916 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.2342, allocations: 15.8 kB / 0.7916 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.155e-06/0.2343, allocations: 0 / 0.7916 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.2344, allocations: 318.8 kB / 0.7919 GB, free: 7 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003202/0.2347, allocations: 83.92 kB / 0.792 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003143/0.235, allocations: 87.91 kB / 0.7921 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003152/0.2353, allocations: 71.94 kB / 0.7921 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2354, allocations: 0 / 0.7921 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0006943/0.2361, allocations: 217.3 kB / 0.7923 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.079e-05/0.2361, allocations: 97.17 kB / 0.7924 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.2361, allocations: 0 / 0.7924 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.2361, allocations: 0 / 0.7924 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002585/0.2364, allocations: 51.88 kB / 0.7925 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.2364, allocations: 3.984 kB / 0.7925 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001965/0.2366, allocations: 35.88 kB / 0.7925 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.2366, allocations: 0 / 0.7925 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.148e-06/0.2367, allocations: 4 kB / 0.7925 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001826/0.2368, allocations: 67.95 kB / 0.7926 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-06/0.2369, allocations: 3.938 kB / 0.7926 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.126e-06/0.2369, allocations: 7.953 kB / 0.7926 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.376e-05/0.2369, allocations: 23.98 kB / 0.7926 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.342e-06/0.237, allocations: 0 / 0.7926 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.527e-05/0.237, allocations: 15.92 kB / 0.7926 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.467e-06/0.237, allocations: 0 / 0.7926 GB, free: 6.23 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001113/0.2371, allocations: 189.8 kB / 0.7928 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.224e-05/0.2372, allocations: 11.81 kB / 0.7928 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.264e-05/0.2372, allocations: 24.25 kB / 0.7928 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.2372, allocations: 0 / 0.7928 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.2372, allocations: 0 / 0.7928 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.2373, allocations: 0 / 0.7928 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000979/0.2382, allocations: 496 kB / 0.7933 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.2383, allocations: 7.891 kB / 0.7933 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000211/0.2385, allocations: 55.94 kB / 0.7934 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.2385, allocations: 0 / 0.7934 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.2385, allocations: 256 / 0.7934 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.2385, allocations: 8 kB / 0.7934 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.2385, allocations: 0 / 0.7934 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007327/0.2393, allocations: 309 kB / 0.7937 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.934e-05/0.2394, allocations: 100.9 kB / 0.7938 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.305e-05/0.2394, allocations: 0 / 0.7938 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002135/0.2396, allocations: 31.97 kB / 0.7938 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.705e-05/0.2396, allocations: 7.938 kB / 0.7938 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.2397, allocations: 7.984 kB / 0.7938 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.162e-05/0.2398, allocations: 121.5 kB / 0.7939 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2398, allocations: 0 / 0.7939 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003048/0.2401, allocations: 35.91 kB / 0.794 GB, free: 4.734 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001281/0.2402, allocations: 103.2 kB / 0.7941 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007838/0.241, allocations: 211.8 kB / 0.7943 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.241, allocations: 0 / 0.7943 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003193/0.2413, allocations: 80.05 kB / 0.7943 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.2416, allocations: 8 kB / 0.7944 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008926/0.2425, allocations: 324.5 kB / 0.7947 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002515/0.2428, allocations: 0.6926 MB / 0.7953 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.586e-05/0.2429, allocations: 15.98 kB / 0.7954 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.703e-05/0.243, allocations: 23.41 kB / 0.7954 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.243, allocations: 4 kB / 0.7954 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of Templates: time 0.003356/0.2464, allocations: 1.26 MB / 0.7966 GB, free: 1.965 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: