Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface") translateModel(BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001854/0.001853, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002079/0.002079, allocations: 196.1 kB / 16.14 MB, free: 6.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002583/0.002583, allocations: 279 kB / 290.2 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.086/1.086, allocations: 178.6 MB / 0.5068 GB, free: 4.75 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002751/0.002751, allocations: 99.44 kB / 0.6057 GB, free: 24.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1683, allocations: 89.15 MB / 0.6928 GB, free: 4.844 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002972/0.1713, allocations: 1.675 MB / 0.6944 GB, free: 3.164 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007228/0.172, allocations: 350.6 kB / 0.6948 GB, free: 2.82 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.482e-05/0.1721, allocations: 0 / 0.6948 GB, free: 2.82 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.915e-05/0.1721, allocations: 7.922 kB / 0.6948 GB, free: 2.812 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.908e-05/0.1722, allocations: 11.86 kB / 0.6948 GB, free: 2.801 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002792/0.1725, allocations: 66.03 kB / 0.6948 GB, free: 2.738 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001252/0.1726, allocations: 107.6 kB / 0.6949 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.1728, allocations: 27.98 kB / 0.695 GB, free: 2.605 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.923e-05/0.1728, allocations: 43.8 kB / 0.695 GB, free: 2.562 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.971e-05/0.1729, allocations: 43.77 kB / 0.6951 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.173, allocations: 4 kB / 0.6951 GB, free: 2.516 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.365e-05/0.1731, allocations: 35.97 kB / 0.6951 GB, free: 2.48 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.343e-05/0.1731, allocations: 15.92 kB / 0.6951 GB, free: 2.465 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.112e-05/0.1732, allocations: 39.8 kB / 0.6951 GB, free: 2.426 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001608/0.1733, allocations: 103.9 kB / 0.6952 GB, free: 2.324 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1733, allocations: 4 kB / 0.6952 GB, free: 2.32 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.31e-07/0.1733, allocations: 0 / 0.6952 GB, free: 2.32 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.026e-06/0.1733, allocations: 0 / 0.6952 GB, free: 2.32 MB / 494.1 MB 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.0006346/0.174, allocations: 411.1 kB / 0.6956 GB, free: 1.867 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.174, allocations: 12.03 kB / 0.6957 GB, free: 1.855 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001568/0.1756, allocations: 160.6 kB / 0.6958 GB, free: 1.699 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.1758, allocations: 172.2 kB / 0.696 GB, free: 1.492 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.1758, allocations: 12.31 kB / 0.696 GB, free: 1.48 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.822e-05/0.1758, allocations: 12.31 kB / 0.696 GB, free: 1.469 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007172/0.1766, allocations: 171.2 kB / 0.6962 GB, free: 1.297 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.1766, allocations: 192 / 0.6962 GB, free: 1.297 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.273e-05/0.1766, allocations: 7.938 kB / 0.6962 GB, free: 1.289 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.1766, allocations: 4 kB / 0.6962 GB, free: 1.285 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001028/0.1776, allocations: 183.7 kB / 0.6963 GB, free: 1.105 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001298/0.179, allocations: 488.2 kB / 0.6968 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00121/0.1802, allocations: 186.4 kB / 0.697 GB, free: 396 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003721/0.1806, allocations: 68.78 kB / 0.6971 GB, free: 324 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.1806, allocations: 4 kB / 0.6971 GB, free: 320 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.1806, allocations: 34.5 kB / 0.6971 GB, free: 276 kB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.433e-06/0.1806, allocations: 0 / 0.6971 GB, free: 276 kB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.001236/0.1819, allocations: 221.3 kB / 0.6973 GB, free: 48 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.186e-05/0.182, allocations: 55.41 kB / 0.6974 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002818/0.1822, allocations: 188.2 kB / 0.6975 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.1823, allocations: 25.7 kB / 0.6976 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.947e-05/0.1824, allocations: 111.9 kB / 0.6977 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.534e-05/0.1824, allocations: 7.844 kB / 0.6977 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.051e-05/0.1825, allocations: 33.69 kB / 0.6977 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.1826, allocations: 318.8 kB / 0.698 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000479/0.1831, allocations: 88.77 kB / 0.6981 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004771/0.1836, allocations: 102.4 kB / 0.6982 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008369/0.1844, allocations: 158.4 kB / 0.6983 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1844, allocations: 0 / 0.6983 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001038/0.1855, allocations: 225.3 kB / 0.6986 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.1855, allocations: 6.188 kB / 0.6986 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1855, allocations: 160 / 0.6986 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.1855, allocations: 7.938 kB / 0.6986 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003458/0.1859, allocations: 47.88 kB / 0.6986 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.555e-06/0.1859, allocations: 3.984 kB / 0.6986 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004043/0.1863, allocations: 39.95 kB / 0.6987 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.906e-05/0.1863, allocations: 7.984 kB / 0.6987 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002351/0.1866, allocations: 123.4 kB / 0.6988 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002025/0.1868, allocations: 81.97 kB / 0.6989 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002865/0.1871, allocations: 105.8 kB / 0.699 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.102e-06/0.1871, allocations: 0 / 0.699 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0004547/0.1876, allocations: 141.4 kB / 0.6991 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.456e-06/0.1876, allocations: 4 kB / 0.6991 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-06/0.1876, allocations: 0 / 0.6991 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.779e-06/0.1876, allocations: 4 kB / 0.6991 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/0.1878, allocations: 27.91 kB / 0.6991 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.1878, allocations: 16.09 kB / 0.6991 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002723/0.1881, allocations: 27.81 kB / 0.6992 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.1881, allocations: 7.938 kB / 0.6992 GB, free: 14 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * 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 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.0001188/0.1882, allocations: 180.3 kB / 0.6994 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.303e-05/0.1883, allocations: 7.906 kB / 0.6994 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.551e-05/0.1883, allocations: 16.19 kB / 0.6994 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.1883, allocations: 0 / 0.6994 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.1883, allocations: 0 / 0.6994 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.1883, allocations: 7.984 kB / 0.6994 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002609/0.1886, allocations: 205.6 kB / 0.6996 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1886, allocations: 0 / 0.6996 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002405/0.1889, allocations: 36 kB / 0.6996 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.1889, allocations: 8 kB / 0.6996 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.1889, allocations: 3.938 kB / 0.6996 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1889, allocations: 0 / 0.6996 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1889, allocations: 0 / 0.6996 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008344/0.1897, allocations: 263.2 kB / 0.6999 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.1899, allocations: 101 kB / 0.7 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.42e-05/0.1899, allocations: 3.938 kB / 0.7 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002997/0.1902, allocations: 19.97 kB / 0.7 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.77e-05/0.1903, allocations: 11.98 kB / 0.7 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-06/0.1903, allocations: 240 / 0.7 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002069/0.1905, allocations: 143.2 kB / 0.7001 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1905, allocations: 0 / 0.7001 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003655/0.1909, allocations: 36 kB / 0.7002 GB, free: 12.88 MB / 0.4981 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 (3): * Single equations (assignments): 3 * 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.0001349/0.191, allocations: 99.23 kB / 0.7003 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00111/0.1921, allocations: 220.1 kB / 0.7005 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1921, allocations: 0 / 0.7005 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003655/0.1925, allocations: 59.92 kB / 0.7005 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003599/0.1929, allocations: 12.06 kB / 0.7005 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009789/0.1939, allocations: 268.6 kB / 0.7008 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/0.1942, allocations: 0.7043 MB / 0.7015 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001908/0.1944, allocations: 20 kB / 0.7015 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.714e-05/0.1945, allocations: 27.41 kB / 0.7015 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of SimCode: time 3.01e-07/0.1945, allocations: 0 / 0.7015 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of Templates: time 0.004508/0.199, allocations: 1.562 MB / 0.7031 GB, free: 9.871 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & ./BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1)