Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface") translateModel(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001355/0.001354, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001524/0.001524, allocations: 192.4 kB / 16.14 MB, free: 6.645 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.375/1.375, allocations: 222.9 MB / 239.8 MB, free: 4.484 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9815/0.9815, allocations: 135.1 MB / 425.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 64.06 kB / 0.5047 GB, free: 5.73 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.168, allocations: 80.92 MB / 0.5837 GB, free: 4.973 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.003105/0.1712, allocations: 1.663 MB / 0.5853 GB, free: 3.289 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007319/0.172, allocations: 312 kB / 0.5856 GB, free: 2.98 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.349e-05/0.172, allocations: 0 / 0.5856 GB, free: 2.98 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.086e-05/0.1721, allocations: 7.922 kB / 0.5856 GB, free: 2.973 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.826e-05/0.1722, allocations: 19.86 kB / 0.5857 GB, free: 2.953 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003062/0.1725, allocations: 55.94 kB / 0.5857 GB, free: 2.898 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001161/0.1726, allocations: 99.64 kB / 0.5858 GB, free: 2.801 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.1728, allocations: 35.95 kB / 0.5858 GB, free: 2.766 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.546e-05/0.1728, allocations: 39.86 kB / 0.5859 GB, free: 2.727 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.942e-05/0.1729, allocations: 39.78 kB / 0.5859 GB, free: 2.688 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.264e-05/0.173, allocations: 4 kB / 0.5859 GB, free: 2.684 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.272e-05/0.1731, allocations: 23.98 kB / 0.5859 GB, free: 2.66 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.564e-05/0.1731, allocations: 23.91 kB / 0.586 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.065e-05/0.1732, allocations: 35.8 kB / 0.586 GB, free: 2.602 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001443/0.1733, allocations: 99.89 kB / 0.5861 GB, free: 2.504 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1733, allocations: 0 / 0.5861 GB, free: 2.504 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.02e-07/0.1733, allocations: 0 / 0.5861 GB, free: 2.504 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.1733, allocations: 0 / 0.5861 GB, free: 2.504 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.000581/0.1739, allocations: 407.2 kB / 0.5865 GB, free: 2.059 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.174, allocations: 8.031 kB / 0.5865 GB, free: 2.051 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001121/0.1751, allocations: 116.7 kB / 0.5866 GB, free: 1.938 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.1752, allocations: 176.2 kB / 0.5868 GB, free: 1.727 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.1753, allocations: 12.31 kB / 0.5868 GB, free: 1.715 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.432e-05/0.1753, allocations: 8.375 kB / 0.5868 GB, free: 1.707 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005842/0.1759, allocations: 156.3 kB / 0.5869 GB, free: 1.551 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.1759, allocations: 0 / 0.5869 GB, free: 1.551 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.1759, allocations: 0 / 0.5869 GB, free: 1.551 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.1759, allocations: 4 kB / 0.5869 GB, free: 1.547 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007919/0.1767, allocations: 155.8 kB / 0.5871 GB, free: 1.395 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/0.1778, allocations: 448.2 kB / 0.5875 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007969/0.1786, allocations: 138.4 kB / 0.5876 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000393/0.179, allocations: 72.92 kB / 0.5877 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.676e-05/0.179, allocations: 0 / 0.5877 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.1791, allocations: 42.47 kB / 0.5878 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.1791, allocations: 7.938 kB / 0.5878 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.001296/0.1804, allocations: 249.4 kB / 0.588 GB, free: 388 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/0.1804, allocations: 51.41 kB / 0.5881 GB, free: 324 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.1806, allocations: 166 kB / 0.5882 GB, free: 148 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.1806, allocations: 25.7 kB / 0.5882 GB, free: 116 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.144e-05/0.1807, allocations: 96.05 kB / 0.5883 GB, free: 16 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.228e-05/0.1807, allocations: 15.8 kB / 0.5883 GB, free: 0 / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.543e-05/0.1808, allocations: 25.7 kB / 0.5884 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.1809, allocations: 326.8 kB / 0.5887 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004014/0.1813, allocations: 76.78 kB / 0.5888 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003766/0.1817, allocations: 68.17 kB / 0.5888 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007516/0.1825, allocations: 144.8 kB / 0.589 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.1825, allocations: 4 kB / 0.589 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0008037/0.1833, allocations: 189.4 kB / 0.5891 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.1833, allocations: 4 kB / 0.5891 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.1833, allocations: 3.938 kB / 0.5891 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.1834, allocations: 0 / 0.5891 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002722/0.1836, allocations: 39.94 kB / 0.5892 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.1837, allocations: 0 / 0.5892 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002213/0.1839, allocations: 31.81 kB / 0.5892 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/0.1839, allocations: 4 kB / 0.5892 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00014/0.184, allocations: 112 kB / 0.5893 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001/0.1842, allocations: 52.28 kB / 0.5894 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001793/0.1843, allocations: 88.19 kB / 0.5895 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.012e-06/0.1844, allocations: 0 / 0.5895 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0002485/0.1846, allocations: 109.4 kB / 0.5896 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.486e-06/0.1846, allocations: 4 kB / 0.5896 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.377e-06/0.1846, allocations: 4 kB / 0.5896 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.869e-06/0.1846, allocations: 3.938 kB / 0.5896 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.168e-05/0.1847, allocations: 19.92 kB / 0.5896 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.1847, allocations: 7.984 kB / 0.5896 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.082e-05/0.1848, allocations: 12.16 kB / 0.5896 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.1848, allocations: 4 kB / 0.5896 GB, free: 14.62 MB / 0.4981 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 9.298e-05/0.1849, allocations: 176.3 kB / 0.5898 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.82e-05/0.185, allocations: 7.906 kB / 0.5898 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.414e-05/0.185, allocations: 20.23 kB / 0.5898 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.185, allocations: 0 / 0.5898 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.185, allocations: 0 / 0.5898 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1851, allocations: 4 kB / 0.5898 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.1861, allocations: 487.8 kB / 0.5903 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1861, allocations: 0 / 0.5903 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002596/0.1864, allocations: 40.02 kB / 0.5903 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.1864, allocations: 3.938 kB / 0.5903 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.326e-05/0.1865, allocations: 7.984 kB / 0.5903 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.1865, allocations: 0 / 0.5903 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1865, allocations: 0 / 0.5903 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008132/0.1873, allocations: 288.9 kB / 0.5906 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.497e-05/0.1874, allocations: 97.05 kB / 0.5907 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.503e-05/0.1874, allocations: 12 kB / 0.5907 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002501/0.1877, allocations: 23.97 kB / 0.5907 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.015e-05/0.1877, allocations: 3.984 kB / 0.5907 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.1877, allocations: 4 kB / 0.5907 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.829e-05/0.1878, allocations: 119.2 kB / 0.5909 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1879, allocations: 0 / 0.5909 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00034/0.1882, allocations: 28 kB / 0.5909 GB, free: 13.21 MB / 0.4981 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.0001314/0.1883, allocations: 99.25 kB / 0.591 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009456/0.1893, allocations: 187.7 kB / 0.5912 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.1893, allocations: 0 / 0.5912 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003916/0.1897, allocations: 80.22 kB / 0.5912 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004141/0.1901, allocations: 11.94 kB / 0.5912 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.1913, allocations: 318.8 kB / 0.5915 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003226/0.1916, allocations: 0.6965 MB / 0.5922 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001097/0.1917, allocations: 12 kB / 0.5922 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.044e-05/0.1918, allocations: 23.41 kB / 0.5923 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of SimCode: time 3.91e-07/0.1918, allocations: 0 / 0.5923 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of Templates: time 0.00392/0.1958, allocations: 1.316 MB / 0.5935 GB, free: 10.43 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & ./IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1)